- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- openssh shell problems
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
04-08-2002 03:54 AM
04-08-2002 03:54 AM
openssh shell problems
#ssh -l
ksh: date: not found
anybody knows how to fix?
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 04:06 AM
04-08-2002 04:06 AM
Re: openssh shell problems
You need to set up the PATH on the remote machine so it knows where to look for date.
Try
1)With full path name.
2)Do a remote echo \$PATH
See what is set
Fix it in the /etc/profile
NOTE.On secure shell a full search path is not
always good
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 04:15 AM
04-08-2002 04:15 AM
Re: openssh shell problems
You should ALWAYS use the FULLY QUALIFIED path when executing commands in scripts and on remote machines.
try using /sbin/date for "date"
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 04:23 AM
04-08-2002 04:23 AM
Re: openssh shell problems
if you do:
#ssh -l
Mon Apr 8 13:24:19 BST 2002
then it works fine!!
I really think I must have forgotten a PATH or something which is only read by SSH?
Maybe a config file?
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 04:26 AM
04-08-2002 04:26 AM
Re: openssh shell problems
#ssh -l
/opt/openssh2/bin
That doesn't look good :)
Now where can I change it?
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 04:43 AM
04-08-2002 04:43 AM
Re: openssh shell problems
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 05:08 AM
04-08-2002 05:08 AM
Re: openssh shell problems
PATH=/usr/sbin:/usr/bin:/sbin:/opt/openssh2/sbin:/opt/openssh2/bin
export PATH
There are quite a few changes between OpenSSH 2.5.1 and 3.1
Maybe I need to chnage the sshd_config, but I don't see any useful reference...
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 05:23 AM
04-08-2002 05:23 AM
Re: openssh shell problems
3.7 - "scp: command not found" errors
scp(1) must be in the default PATH on both the client and the server. You may need to use the --with-default-path option to specify a custom path to search on the server. This option replaces the default path, so you need to specify all the current directories on your path as well as where you have installed scp. For example:
$ ./configure --with-default-path=/bin:/usr/bin:/usr/local/bin:/path/to/scp
http://www.openssh.com/faq.html
If you need to rebuild, Kevin Steves (the author of building an HP bastion host), has this on building openssh:
http://www.atomicgears.com/papers/osshhpux.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 05:28 AM
04-08-2002 05:28 AM
Re: openssh shell problems
I hoped not to have to compile it myself, because I always get in trouble with installations on workstations, servers, 64bit and 32bit...
Dirk