- How to connect to remote machine using Ubuntu
$ssh username@192.156.0.13 (192.156.0.13 is the IP Address of the remote machine.)
- How to copy files from remote Ubuntu machine to local machine
$scp -r username@192.168.0.13:/home/username/remotefile.txt.
- How to copy files from local machine to remote Ubuntu machine.
$scp -r localfile.txt username@192.168.0.13:/home/username
- How to copy files/folders from local machine into remote Ubuntu machine (using rsync)
$rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/
In the above command, local file is localfile.txt
IP Address of remote Ubuntu machine is : 192.168.0.13
The file will be saved in /home/username folder on remote ubuntu machine.
- How to copy files/folders from remote Ubuntu machine into local machine (using rsync)
$rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.13:/home/username/remotefile.txt.
Remote file on remote Ubuntu machine is : remotefile.txt
This will be copied into current directory on local machine.
Sunday, August 31, 2008
How to install ssh on ubuntu
ໃນ terminal ພິມ :sudo apt-get install ssh
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment