Recent Changes - Search:

Softwares

.

Scp-to-server-with-different-port-number

  • This command should work fine, if your server is running on a different port.
root@shibu-laptop:# scp '-P 2222' style.css  root@IP-address:/root/
style.css                                                      100% 5509     5.4KB/s   00:00

:~$ scp --help
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]

Edit - History - Print - Recent Changes - Search
Page last modified on October 31, 2007, at 09:57 AM