Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scp issues

Status
Not open for further replies.

jping45

Technical User
Aug 22, 2001
49
US
I am attempting to perform a scp from server a to server b. I've installed the same packages on both servers, they're identical OS levels and HW. I can perform a scp locally on server a however when I attempt to perform a scp from server b to server a, or even locally on server b I get the following error:

user@serverb's password:
ksh: scp: not found
lost connection

Any help would be greatly appreciated...
 
Did you check the user's path? You should have /bin in your path environmental variable.
 
gkout - -

thanks for the tip... I ended up adding a link from /usr/local/bin/scp to /usr/bin/scp and that resolved the problem...

Thanks Again,
jping45
 
Well Solaris' 9 bundled scp command is under /bin. Seems you are using a third-party scp. You can always add /usr/local/bin/ in the user's path. This will come handy in the future if you install additional third-party software (almost every binary is put under /usr/local/bin by default).
You wouldn't want ending up with a banch of links.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top