|
Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
Scp-to-server-with-different-port-numberMain.Scp-to-server-with-different-port-number HistoryHide minor edits - Show changes to output Changed line 10 from:
to:
Added lines 1-11:
*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] [[user@]host1:]file1 [...] [[user@]host2:]file2 @] |