- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh on HP-UX 11.00: I need interactive login
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
Discussions
Discussions
Forums
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
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
тАО03-02-2004 06:19 PM
тАО03-02-2004 06:19 PM
I just installed ssh on my HP-UX.
When I try connect from my HP-UX to host1,
ssh fetch my HPUX username, put it as login name to host1, and waits for password. But my HPUX username have any priveledges on host1, and I need to specify another login name.
To put simply,
I need, that ssh promts for login name, and after that, promts for passwd.
Thanks, J
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 06:24 PM
тАО03-02-2004 06:24 PM
Re: ssh on HP-UX 11.00: I need interactive login
You can connect with ssh with any user you like. just:
ssh -l
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 06:26 PM
тАО03-02-2004 06:26 PM
Re: ssh on HP-UX 11.00: I need interactive login
use this format
ssh remoteuser@remotehostorIP
for example,
to connect to a remote box 172.23.4.45 using ora1 user account, use:
ssh ora1@172.23.4.45
This will prompt for the password for the remote machine. Also you can use -u option
ssh -u ora1 172.23.4.45
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 06:30 PM
тАО03-02-2004 06:30 PM
Re: ssh on HP-UX 11.00: I need interactive login
Syntax from ssh man page:
ssh [-l login_name] hostname | user@hostname [command]
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 06:51 PM
тАО03-02-2004 06:51 PM
Re: ssh on HP-UX 11.00: I need interactive login
[comand line]$ ssh host1
[host replay]login as:
[host replay]password:
know I have
[comand line]$ ssh host1
[host replay]user@host1:
passwd incorrect
[host replay]user@host1:
passwd incorrect
[host replay]user@host1:
passwd incorrect
end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 06:59 PM
тАО03-02-2004 06:59 PM
Re: ssh on HP-UX 11.00: I need interactive login
create a shell script "ssh-host" like this:
if [ $# -lt 1 ]
then
echo "Please enter host name"
fi
host=$1
echo "Enter user: "
read $user
echo "Enter Password: "
read $password
ssh -l $user $host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 07:08 PM
тАО03-02-2004 07:08 PM
Re: ssh on HP-UX 11.00: I need interactive login
I just cann't imagine, that ssh haven't feature like I look for.
/J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2004 09:12 PM
тАО03-02-2004 09:12 PM
Re: ssh on HP-UX 11.00: I need interactive login
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2004 08:33 AM
тАО03-07-2004 08:33 AM
SolutionThere are many configuration settings and several configuration files, both for the server and the client.
The sshd_config file is the one read and used by the ssh daemon on the server side.
The "#" sign means a comment in this file. Actually the lines that do start with a "#" represent the default setting for that parameter.
The ssh_config file is the default configuration file for the ssh client. The entries in this file are only used if they are not specified in either the user's own configuration file ($HOME/.ssh/config) or at the command line. The "#" sign is a comment in this file. The format of this file is the same as the sshd_config file.
Playing with the SSH configuration parameters you can get the ssh behavior required.
For example, try to change UseLogin parameter from no to yes on the ssh server.
BR,
Dmitry.