Operating System - Tru64 Unix
1748161 Members
3862 Online
108758 Solutions
New Discussion юеВ

configer ssh to trust a user to another host.

 
SOLVED
Go to solution
Simon Jespersen
Frequent Advisor

configer ssh to trust a user to another host.

ssh version: ssh: SSH Secure Shell Tru64 UNIX 3.2.0
uname -a OSF1 tranum.tdk.dk V5.1 2650 alpha

Hi! im working a little problem trying to trust a user from this tru64 server to a linux enterprise with openSSH.

I want to be able to send files from my tru64 as an specific user with scp without specifying my passwd.
I can generate public-key files and place that key on my linux with other types of oprstin msystem, eks. ux,sun,aix but i cannot get it to work with tru64. Can you help me
5 REPLIES 5
Arch_Muthiah
Honored Contributor
Solution

Re: configer ssh to trust a user to another host.

This has been discussed in this forum.....

Try this from Tru64,
-- Generate the dsa key pair, enter null passphrase when prompted.
# ssh-keygen -t dsa

--- Copy the created public key to the linux server,
# scp ~/.ssh2/id_dsa_2048_a.pub linuxserver:.ssh/

--- Create identification file in the .ssh2 directory as follows with your key file name,
# echo "IdKey id_dsa_2048_a" >> ~/.ssh2/identification

And from Linux side,
--- Import the SSH2 style public key to openSSH format,
# ssh-keygen -i -f id_dsa_2048_a >> ~/.ssh/authorized_keys2

--- Change the permission of the file,
# chmod 600 ~/.ssh2/authorized_keys2

This shoud work without pwd from tru64


Archunan
Regards
Archie
Ivan Ferreira
Honored Contributor

Re: configer ssh to trust a user to another host.

Hi, see this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=604250
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven Schweda
Honored Contributor

Re: configer ssh to trust a user to another host.

> [...] i cannot get it to work [...]

This is not as helpful as a transcript of
what you did and what happened then.

I don't run Linux, but ...

"ssh -v" can be informative.

You may not wish to create a new set of keys
for the Tru64 system, but if the file
formats are different, you might learn
something by creating key files on Tru64 and
then comparing those files with your existing
(Linux) key files.

I can get back and forth between my Tru64
system and a Solaris 10 (SunOS 5.10) system.

For reference:

urtx> sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sat Jan 28 11:47:04 CST 2006

urtx> ssh -V
ssh: SSH Secure Shell Tru64 UNIX 3.2.0

urtx> uname -a
OSF1 urtx.antinode.org V5.1 2650 alpha

sol $ uname -a
SunOS sol 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-60

sol $ ssh -V
Sun_SSH_1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
Harmanjit_1
Frequent Advisor

Re: configer ssh to trust a user to another host.

Hi,

I am agreed with Archunan. Along with this you have to set permission for the home directory of that user to 750.
Simon Jespersen
Frequent Advisor

Re: configer ssh to trust a user to another host.

thank you very much i was a great help to me.