Make sure you ssh/scp deamon is running.
/etc/init.d/ssh start
Regenerate host keys for ssh if necessary
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
package your folder
tar -cvf folder.tar folder | gzip > folder.tgz
copy it
scp folder.tgz root@192.168.1.5:/home/anwar/myfiles
extract it
gunzip folder.tgz
tar -xvf folder.tar
Alternatively you can also use
smbmount //ipaddress/path/to/folder /mountfolder -o username=anwar
Friday, June 9, 2006
0 comments:
Post a Comment