I'm having a problem with scp on a local network.
I can connect withwith no problems.Code:ssh -p 2222 and firstname.lastname@example.org
If I try toI get ssh: connect to host 192.168.0.4 port 22: Connection refusedCode:scp -p 2222 file1 email@example.com:/home/username/file1
Do I need to set the port for scp somewhere else? or does it does it pick it up from /etc/ssh/sshd_config file as with the server? I'm sure I only set ip up for the ssh sever in the past.