Archive for the 'ssh' Category

Passwordless SSH authentication with Putty

Putty from here. Download  PuttyGen from same link. Once installed, open Puttygen and create a new pair of keys by clicking the “Generate” button. You can keep all the options at their default settings. It might be a good idea to set a passphrase for your key. Then, save both public and private key to [...]

HOWTO SSH back door?

Many times I’ll be at a site where I need remote support from someone who is blocked on the outside by a company firewall. Few people realize that if you can get out to the world through a firewall, then it is relatively easy to open a hole so that the world can come into [...]

Breaking Firewalls with ssh

A sample .ssh/config file (note this must have chmod 600 rights)
## Server1 ##
Host 130.21.19.227
LocalForward 20000 192.168.0.66:80
LocalForward 22000 192.168.0.66:22
With the above “~/.ssh/config” file, after sshing into 130.21.19.227 it
is then possible to ssh into nearby computers directly.
$ ssh -l mchirico 130.21.19.227
$ scp -P 22000 authorized_keys* mchirico@localhost:.
$ ssh -l mchirico localhost -p 22000
For the [...]

Creating a Welcome message for SSH logins

Did you ever want to change or create a new login message antime someone logs into SSH? We’ll show you how it’s done.