Recent Changes - Search:

Softwares

.

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

Main.Scp-to-server-with-different-port-number History

Hide minor edits - Show changes to output

Changed line 10 from:
[[user@]host1:]file1 [...] [[user@]host2:]file2
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
@]
Edit - History - Print - Recent Changes - Search
Page last modified on October 31, 2007, at 01:57 PM