Log in remotely with SSH (Linux)
The commands below are relevant only if you have an existing account on the PC you want to connect and that a SSH server is installed.
When using Linux the syntax is quite simple as the client part is already set in for most versions
Type the following command in any terminal (interface):
ssh login:password@the pc I want to get connected to
or
login@(the pc I want to get connected to )
If the client accepts the connection, you will immediately be prompted to enter the password.
To login in graphical mode(using X server) –you must use the –X option.
Using SSH through a proxy:
First have the proxy pack installed.
sudo aptitude install proxy-connect
modify the
/etc/ssh/ssh_config file to allow the use of SSHthrough the proxy:
sudo echo 'ProxyCommand /usr/bin/connect-proxy -4 -S myproxy.domain.com:port %h %p' >> /etc/ssh/ssh_config
Note:
Be sure to replace
myproxy.domain.com ant the
port by the name of your proxy and the port number.