HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't get system to "find" scp command
Operating System - HP-UX
1825659
Members
3664
Online
109686
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2001 08:07 AM
12-11-2001 08:07 AM
Re: Can't get system to "find" scp command
Hello Jeff,
The first thing to do is to run 'file scp' on your scp and see what it tells you. I've seen this situation happening in the following cases:
1) A script with the incorrect shell in the first line (like #!/bin/something)
(that does not seem to be your case since scp should be an executable)
2) A script with CR+LFs in it (again, doesn't seem to be your case)
3) A binary built for the incorrect architecture ("file" will tell you)
4) A script with the same name coming first in the path, and this script suffers from 1 or 2 above (make 'type scp' and make sure the filename it gives you is the right one)
5) An "alias" pointing you to something other than the original (type "alias" and see if there's something aliasing scp to something else).
Hope it helps,
Paga
The first thing to do is to run 'file scp' on your scp and see what it tells you. I've seen this situation happening in the following cases:
1) A script with the incorrect shell in the first line (like #!/bin/something)
(that does not seem to be your case since scp should be an executable)
2) A script with CR+LFs in it (again, doesn't seem to be your case)
3) A binary built for the incorrect architecture ("file" will tell you)
4) A script with the same name coming first in the path, and this script suffers from 1 or 2 above (make 'type scp' and make sure the filename it gives you is the right one)
5) An "alias" pointing you to something other than the original (type "alias" and see if there's something aliasing scp to something else).
Hope it helps,
Paga
Keeping alive, until I die.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2001 11:27 AM
12-11-2001 11:27 AM
Re: Can't get system to "find" scp command
Thank you all for all the useful help! I followed a lot of your replies. I ended up putting the path to the scp command in /.ssh/environment file. Once I did this, scp worked. Thank you all for the help.
Jeff
Jeff
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP