How to install and use SSH Server on Ubuntu 6.10
December 18, 2006 at 3:33 pm | Posted in Kubuntu, SSH, Ubuntu | 1 Comment
How to install SSH Server for remote administration service
sudo apt-get install ssh
How to SSH into remote Ubuntu machine
e.g. Assumed that remote Ubuntu machine have installed SSH Server service. Read How to install SSH Server for remote administration service. Remote Ubuntu machine: 192.168.0.1
ssh username@192.168.0.1
How to copy files/folders from remote Ubuntu machine into local machine (scp)
e.g. Assumed that remote Ubuntu machine have installed SSH Server service. Read How to install SSH Server for remote administration service
Remote Ubuntu machine: 192.168.0.1
Remote files/folders location: /home/username/remotefile.txt
Local machine save location: . (current directory)
scp -r username@192.168.0.1:/home/username/remotefile.txt .
How to copy files/folders from local machine into remote Ubuntu machine (scp)
Assumed that remote Ubuntu machine have installed SSH Server service
Local files/folders location: localfile.txt
Remote Ubuntu machine: 192.168.0.1
Remote Ubuntu machine save location: /home/username/
scp -r localfile.txt username@192.168.0.1:/home/username/
How to copy files/folders from remote Ubuntu machine into local machine (rsync)
Assumed that remote Ubuntu machine have installed SSH Server service
Remote Ubuntu machine: 192.168.0.1
Remote files/folders location: /home/username/remotefile.txt
Local machine save location: . (current directory)
rsync -v -u -a –delete –rsh=ssh –stats username@192.168.0.1:/home/username/remotefile.txt .
How to copy files/folders from local machine into remote Ubuntu machine (rsync)
Assumed that remote Ubuntu machine have installed SSH Server service
Read How to install SSH Server for remote administration service
Local files/folders location: localfile.txt
Remote Ubuntu machine: 192.168.0.1
Remote Ubuntu machine save location: /home/username/
rsync -v -u -a –delete –rsh=ssh –stats localfile.txt username@192.168.0.1:/home/username/
How to mount remote folders into local Ubuntu machine (sshfs)
Assumed that remote machine has installed SSH Server service
Read #How to install SSH Server for remote administration service
Remote machine: 192.168.0.1
Remote machine folder location: /media/music
Install sshfs
sudo apt-get install sshfs
Load kernel driver for sshfs
sudo modprobe fuse
For permanent use add ‘fuse’ at the end of /etc/modules
gksudo gedit /etc/modules
Join the ‘fuse’ user group
sudo adduser your_user_name fuse
Logout and login for this to take effect.
Create local mountpoint in your home directory
mkdir ~/remote_music
Mount the remote folder into ~/remote_music
sshfs 192.168.0.1:/media/music ~/remote_music
1 Comment »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Blog at WordPress.com.
Entries and comments feeds.
The package sshfs no longer exists
Comment by Matt Call— March 20, 2007 #