Since you can use SCP, try mounting the share with sshfs instead.
Code:
sudo apt-get install sshfs
sshfs server:/home/bill /mount/point
ls /mount/point
The ls command should now list the contents of /home/bill.
I mount some shares with sshfs via an entry in /etc/rc.local like this:
Code:
sshfs -o uid=505,gid=500,allow_other,nonempty user@server:/some/share /mount/point
Because this command runs as root, I use the uid and gid options to set the ownership of the mounted directory to the user that owns the files on the remote system. "Allow_other" lets other users besides the one mounting the directory to access the files with the usual permission checks.
You can mount sshfs filesystems via /etc/fstab, but I find it simpler to use the sshfs command in rc.local.
To make this work seamlessly, you'll need to set up "keys."
Bookmarks