Difference between revisions of "Ssh"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 7: Line 7:
 
= port forwarding =
 
= port forwarding =
 
  ssh username@server -L localport:remoteserver:remoteport
 
  ssh username@server -L localport:remoteserver:remoteport
 +
 +
= ssh verbose =
 +
ssh -v user@server
 +
or -vv, -vvv
  
 
= possible problems =
 
= possible problems =

Revision as of 15:23, 17 February 2010

ssh is a command to log in over the network to another computer.

Send graphical output to ssh user

ssh -l user server -X
xclock &

port forwarding

ssh username@server -L localport:remoteserver:remoteport

ssh verbose

ssh -v user@server
or -vv, -vvv

possible problems

Wrong key on ssh-login:

Problem
 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Solution
$ ssh-keygen -R <hostname>

Related

ssh-related topics: