Difference between revisions of "Persiapan SSH untuk SCP Batch"

From OnnoWiki
Jump to navigation Jump to search
(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...)
 
Line 1: Line 1:
 
==Siapkan Mesin untuk Melakukan SCP Batch==
 
==Siapkan Mesin untuk Melakukan SCP Batch==
 +
 +
 +
==Mesin Server==
 +
 +
Install SSH Server
 +
 +
# apt-get install openssh-server
 +
 +
  
 
==Mesin Client==
 
==Mesin Client==

Revision as of 07:43, 12 February 2008

Siapkan Mesin untuk Melakukan SCP Batch

Mesin Server

Install SSH Server

# apt-get install openssh-server


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'