- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh crossing uid
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
тАО08-13-2007 07:33 AM
тАО08-13-2007 07:33 AM
ssh crossing uid
Is this possible allowed using ssh?
Thx
Paresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 07:35 AM
тАО08-13-2007 07:35 AM
Re: ssh crossing uid
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 07:43 AM
тАО08-13-2007 07:43 AM
Re: ssh crossing uid
ssh -l uid2 system2
or
ssh uid2@system2
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2007 08:01 AM
тАО08-13-2007 08:01 AM
Re: ssh crossing uid
lnaunx24.prd>/home/cyborg/.ssh:ssh -v hrdload@lnaunx25.prd.na.lafarge.com
OpenSSH_4.2p1-hpn, OpenSSL 0.9.7i 14 Oct 2005
HP-UX Secure Shell-A.04.20.004, HP-UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to lnaunx25.prd.na.lafarge.com [10.178.13.108] port 22.
debug1: Connection established.
debug1: identity file /home/cyborg/.ssh/id_rsa type 1
debug1: identity file /home/cyborg/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2p1-hpn
debug1: match: OpenSSH_4.2p1-hpn pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1-hpn
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'lnaunx25.prd.na.lafarge.com' is known and matches the RSA host key.
debug1: Found key in /home/cyborg/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/cyborg/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /home/cyborg/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:
lnaunx24.prd>/home/cyborg/.ssh:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-14-2007 02:04 AM
тАО08-14-2007 02:04 AM
Re: ssh crossing uid
or did you specify a different file name?
If so then you also need to refer to this when you start the connection, using the -i option.
e.g.
$ ssh -i ~/.ssh/some_other_keyfile_name -l remote_user remote_host remote_command
Note that you only name the file name of the private key (without the suffix .pub).
Also, check on remote host in remote user's $HOME/.ssh/authorized_keys if the public key from key issuer really is contained.
(compare fingerprints issued by ssh-keygen command)
Check the owner ship and perms of $HOME/.ssh and $HOME/.ssh/authorized_keys on remote host.
Look into remote syslog.log for sshd messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2007 04:17 AM
тАО08-15-2007 04:17 AM
Re: ssh crossing uid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-15-2007 04:31 AM
тАО08-15-2007 04:31 AM
Re: ssh crossing uid
Here is how I did it.
ssh-keygen -t dsa
I take id_dsa.pub to the secon server, different user (used sftp)
cat id_dsa.pub >> authorized_keys
In the .ssh directory.
This appended the entry and immediately let usera on the orignal host log into the user account of userb on the target server without a password.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 06:45 AM
тАО08-16-2007 06:45 AM
Re: ssh crossing uid
Not sure what I did wrong earlier.
Anyways thanks to all for getting back.
This forum support is really cool
Thx
Paresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2007 06:47 AM
тАО08-16-2007 06:47 AM