SSH & SCP Commands


scp

ssh user@host  
Connect to host as user

ssh -p port user@host
Connect using port p

ssh -D port user@host  
Connect & use bind port

ssh -V  
It will displays Version of ssh

ssh -l user remotehost.example.com
Connect to remote host

ssh -v -l user remotehost.example.com  
Debugging message

ssh user@remote-host “ls test”  
Running remote commands from localhost

ssh -v user@remote-host  
Debugging ssh client

scp filename user@remote-host:/home/
Copying files between remote host and local host

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s