Difference between revisions of "SSH Client"
(One intermediate revision by the same user not shown) | |||
Line 34: | Line 34: | ||
* '''-i''' ''myFile'' = the private key you have to use | * '''-i''' ''myFile'' = the private key you have to use | ||
* '''-p''' ''port'' = specific port number (if not default 22) | * '''-p''' ''port'' = specific port number (if not default 22) | ||
+ | |||
+ | |||
+ | |||
+ | ===X11 forwarding=== | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | ssh -X guillaume@nuc-media-center | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | ♦ Note that the remote computer have X11 installed and X11 applications. | ||
Latest revision as of 20:10, 25 March 2015
Contents
SSH client
Linux
Standard login
# syntax
ssh user@server -p portNumber
# example
ssh root@daxiongmao.eu -p 4422
Using RSA key
Key points:
- The key must belongs to the current user
- The key rights must be "500"
Then you can log-in using the following command:
ssh -i Guillaume_OpenSSH.private -p 2200 guillaume@dev.daxiongmao.eu
Where:
- -i myFile = the private key you have to use
- -p port = specific port number (if not default 22)
X11 forwarding
ssh -X guillaume@nuc-media-center
♦ Note that the remote computer have X11 installed and X11 applications.
Windows
You have to use Putty to perform SSH login.
How to add a public / private key in Putty ?
1.Create profile
2. Auto-login
3. Attach private key
4. Save profile