Wiki

Home

ssh

Usefull Stuff

Port Forwarding:

ssh -L [local_addr:]local_port:remote_addr:remote_port [user@]sshd_addr
ssh -R [remote_addr:]remote_port:local_addr:local_port [user@]gateway_addr
ssh -L 8000:localhost:8000 user@ip

Authorized Keys

Root Login nur mit Keyfile

Config File

# ~/.ssh/config
IdentityFile ~/.ssh/id_rsa

Host remote
    HostName ip/hostname
    Port 22
    User your-username

ssh-agent

Putty