--- layout: page category-title: Intermediate commands category-page: intermediate tags: author: Announ Marwan title: ssh ---
localhost:[~]> ssh username@remote-server username@remote-server password: remote-server:[~]>
remote-server:[~]>exit logout Connection to remote-server closed. localhost:[~]>
localhost:[~]> ssh user@remote-host "ls test" online-backup.dat oracle-storage.bat unix-dedicated-server.txt
ssh -v user@remote-host OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to remote-host [172.22.200.140] port 22. debug1: Connection established. debug1: identity file /home/user/.ssh/identity type -1 debug1: identity file /home/user/.ssh/id_rsa type -1 debug1: identity file /home/user/.ssh/id_dsa type 2 debug1: loaded 3 keys ..........
scp user@remote-host:/usr/local/bin/add.sh
scp filename user@remote-host:/var/tmp/
Then, you can now connect and use svn like a programmer