Ssh - menjalankan perintah secara remote

From SpeedyWiki

Jump to: navigation, search

contoh

ssh -l remoteuser remoteserver.com 'mkdir .ssh'
ssh -l remoteuser remoteserver.com 'touch ~/.ssh/authorized_keys'
cat ~/.ssh/id_dsa.pub | ssh -l remoteuser remoteserver.com 'cat >> ~/.ssh/authorized_keys'


[edit] Pranala Menarik

Personal tools