
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
Node.js 'SSH-like' server for Windows, in less that 100 lines of code.
Does not provide any way of authentication (yet). Although you can set IP address allow/deny rules.
npm install -g winssh
> winssh
WinSSH server listening on port 22
Connect using: ssh 10.10.2.39 -p 22
That's it! There are a few options available:
-p/--port [port]
-a/--allow [hosts]
-d/--deny [hosts]
-D/--debug
You'd use them like this:
> winssh -p 2222 # listens on port 2222
> winssh -d 6.5.4.3 # denies access from IP 6.5.4.3
> winssh -a 10.0.2.8,10.0.2.10 # allows access only from IPs 10.0.2.8 and 10.0.2.10
But of course. Options are equivalent to those than available on the CLI.
var winssh = require('winssh');
// using the default options (port 22, no allow or deny hosts)
winssh.start(function(err, server) {
if (!err)
console.log('Server listening on port ' + server.address().port); // by default, port 22
});
var options = {
port: 2345,
allow: [ '10.0.2.2' ]
}
winssh.start(options, function(err, server) {
// all connections will be rejected, except those coming from '10.0.2.2'
});
For more usage examples, check the examples directory.
By Tomás Pollak. MIT Licensed.
FAQs
Remote console access for Windows, with access/deny support.
We found that winssh demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.