scp command [message #387222] |
Wed, 18 February 2009 05:49 |
ora_2007
Messages: 430 Registered: July 2007 Location: Mumbai
|
Senior Member |
|
|
When i tried to use SCP command it gives me an error permission denied.
I want to copy file from my machine i.e. test to <IP address>.
oracle@test:~> scp /home/oracle/freespace.log <IP address>:/home/oracle/scripts/
oracle@<IP address>'s password:
Permission denied, please try again.
oracle@<IP address>'s password:
Actually the thing is <IP address> is using port 2233
I read on net that i need to specify that port number.
I tried many possibilities but doesnt works.
oracle@test:~> scp -P 22 /home/oracle/freespace.log <IP address>:/home/oracle/scripts/
it works but my <IP address> machine is using 2233.
How i can write this command?
Thanks
[EDITED by LF: IP address removed]
[Updated on: Wed, 18 February 2009 14:29] by Moderator Report message to a moderator
|
|
|
|
|