Persiapan SSH untuk SCP Batch

From OnnoWiki
Revision as of 07:06, 12 February 2008 by Onnowpurbo (talk | contribs) (New page: ==Siapkan Mesin untuk Melakukan SCP Batch== ==Mesin Client== $ ssh-keygen -t dsa <ENTER> <ENTER> <ENTER> /home/user/.ssh/id_dsa.pub $ chmod 600 /home/user/.ssh/id_dsa.pub C...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Siapkan Mesin untuk Melakukan SCP Batch

Mesin Client

$ ssh-keygen -t dsa
	<ENTER>
	<ENTER>
	<ENTER>
	/home/user/.ssh/id_dsa.pub


$ chmod 600 /home/user/.ssh/id_dsa.pub

Copykan ke mesin server, masukan ke folder .ssh file authorized_keys

$ scp /home/user/.ssh/id_dsa.pub 'user@machine:~/.ssh/authorized_keys'