The server node should be running the SSH server
sudo aptitude install openssh-serverConnect to the server
ssh username@ipaddress:portConnect to the server with X enabled
ssh username@ipaddress:portNote: specify port only if the default 22 is not being used.
SCP
scp can be used to transfer the files between the nodes (works on top of SSH)
From remote node to local node
cd local_folder
scp username@ipaddress:port:/home/username/path/to/folder_file . From local node to remote node
scp /path/to/local/folder_file username@ipaddress:port:/home/username/path SFTP
If you have a luxury of a GUI, you can copy using sftp.
Open nautilus (if using Gnome) and type in the location bar the address to the server.
nautilus --no-dektop --browser
Location Bar: sftp://username@ipaddress:port/home/usernameAlthough you can go to the
root folder as well, but is not a good practice to screw around in that area
No comments:
Post a Comment