SFTP didn't worked on R62, and I decided to try SCP. I had to check CPUG in order to get this done :-)
Basically this is what you need to do:
1. Download PSCP
2. Edit /etc/scpusers file, adding your username into the file, 1 user per line
3. Change the shell to /bin/bash for your user in /etc/passwd
4. Restart ssh deamon: "service sshd restart"
5. Use command similar to:
C:\Documents and Settings\USER\Desktop>pscp -scp
user@10.100.2.20:/var/CPbackup/backups/backup_hostname.domain.com_2_2_2010_10_47.tgz
F:\Provider\backup\backup_hostname.domain.com_2_2_2010_10_47.tgz
user@10.100.2.20's password:
backup_hostname.domain.com_2 | 236672 kB | 9466.9 kB/s | ETA: 00:02:15 | 15%
That's all!
P.S. Don’t forget to check md5 checksum after you got that file transferred ;-)
Post a Comment