ssh config on DOT 7

View: New views
11 Messages — Rating Filter:   Alert me  

ssh config on DOT 7

by Sheldon Mustard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

So I finally got DOT 7 put into production so I can now use ssh
without an addition license.  My question is where do I put my
authorized_keys file so I can use key based authentication on the
netapp? (i.e. where is or where should I create the .ssh directory)

Thanks for any help,

SJM

--
Sheldon Mustard
smustard@...
"There will be no order, only chaos." - Pi (1998)
--

Re: ssh config on DOT 7

by tmac-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

/mnt/etc/sshd/root/.ssh/authorized_keys



On 11/8/06, Sheldon Mustard <smustard@...> wrote:

> Hello all,
>
> So I finally got DOT 7 put into production so I can now use ssh
> without an addition license.  My question is where do I put my
> authorized_keys file so I can use key based authentication on the
> netapp? (i.e. where is or where should I create the .ssh directory)
>
> Thanks for any help,
>
> SJM
>
> --
> Sheldon Mustard
> smustard@...
> "There will be no order, only chaos." - Pi (1998)
> --
>


--
--tmac

Re: ssh config on DOT 7

by Stephen C. Losen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hello all,
>
> So I finally got DOT 7 put into production so I can now use ssh
> without an addition license.  My question is where do I put my
> authorized_keys file so I can use key based authentication on the
> netapp? (i.e. where is or where should I create the .ssh directory)
>
> Thanks for any help,
>

Put it in /vol/vol0/etc/sshd/root/.ssh assuming the key is for user
"root".  You probably have to make the root/.ssh directory.


Steve Losen   scl@...    phone: 434-924-0640

University of Virginia               ITC Unix Support



Re: ssh config on DOT 7

by John Stoffel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


To setup authorized keys for a Netapp, put the keys in:

   /<netapp>/root/etc/sshd/<user>/.ssh/authorized_keys

where <netapp> is just the name of the netapp, <user> is the name of
the user account on the netapp.  I suggest you make a seperate
restricted account for stuff like this.

You can use the 'useradmin role ...' commands to create a user account
and then limit which command(s) can be run.  Very nice.

John

Re: ssh config on DOT 7

by Sheldon Mustard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks everyone for helping me find what I should have found myself in
the docs :).

SJM

--
Sheldon Mustard
smustard@...
"There will be no order, only chaos." - Pi (1998)
--

RE: ssh config on DOT 7

by Glenn Dekhayser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Be CAREFUL here:  the filename is "authorized_keys2" for the SSH
version2 file, the docs didn't say that, I actually told netapp about
that Doc bug.  Authorized_keys is for version 1, which you shouldn't be
using anymore.  Netapp's SSH client is based on OpenSSH so you can
follow any docs on that to see how it really works.

Glenn (the other one)

-----Original Message-----

> Hello all,
>
> So I finally got DOT 7 put into production so I can now use ssh
> without an addition license.  My question is where do I put my
> authorized_keys file so I can use key based authentication on the
> netapp? (i.e. where is or where should I create the .ssh directory)
>
> Thanks for any help,
>



Re: ssh config on DOT 7

by A Darren Dunham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Be CAREFUL here:  the filename is "authorized_keys2" for the SSH
> version2 file, the docs didn't say that, I actually told netapp about
> that Doc bug.  Authorized_keys is for version 1, which you shouldn't be
> using anymore.  Netapp's SSH client is based on OpenSSH so you can
> follow any docs on that to see how it really works.

Then that would be a difference from the standard OpenSSH releases.
OpenSSH does not require the use of "authorized_keys2" (or hasn't for
years).  Both v1 and v2 keys happily live together in the default
location of ".ssh/authorized_keys".  

I haven't used this feature in OnTAP, so I don't know if it is required
for setup there.

--
Darren Dunham                                           ddunham@...
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

RE: ssh config on DOT 7

by Glenn Dekhayser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, we had the problem when trying to get SSH scripting working with
VMWare ESX 3 and the Netapp, and we did in fact need authorized_keys2 on
both the VMWare and the Netapp box in order to get RSA/SSHv2 working.
We tried for a long time to get that working, perhaps we were missing
something.  When we mentioned this to Netapp they confirmed that our
assessment was correct and they edited the docs.


> Be CAREFUL here:  the filename is "authorized_keys2" for the SSH
> version2 file, the docs didn't say that, I actually told netapp about
> that Doc bug.  Authorized_keys is for version 1, which you shouldn't
be
> using anymore.  Netapp's SSH client is based on OpenSSH so you can
> follow any docs on that to see how it really works.

Then that would be a difference from the standard OpenSSH releases.
OpenSSH does not require the use of "authorized_keys2" (or hasn't for
years).  Both v1 and v2 keys happily live together in the default
location of ".ssh/authorized_keys".  

I haven't used this feature in OnTAP, so I don't know if it is required
for setup there.

--
Darren Dunham                                           ddunham@...
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >



Re: ssh config on DOT 7

by Sheldon Mustard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FWIW, on 7.0.5 I only have ssh2 enabled and authorized_keys worked.

SJM

On 11/8/06, Glenn Dekhayser <gdekhayser@...> wrote:

> Well, we had the problem when trying to get SSH scripting working with
> VMWare ESX 3 and the Netapp, and we did in fact need authorized_keys2 on
> both the VMWare and the Netapp box in order to get RSA/SSHv2 working.
> We tried for a long time to get that working, perhaps we were missing
> something.  When we mentioned this to Netapp they confirmed that our
> assessment was correct and they edited the docs.
>
>
> > Be CAREFUL here:  the filename is "authorized_keys2" for the SSH
> > version2 file, the docs didn't say that, I actually told netapp about
> > that Doc bug.  Authorized_keys is for version 1, which you shouldn't
> be
> > using anymore.  Netapp's SSH client is based on OpenSSH so you can
> > follow any docs on that to see how it really works.
>
> Then that would be a difference from the standard OpenSSH releases.
> OpenSSH does not require the use of "authorized_keys2" (or hasn't for
> years).  Both v1 and v2 keys happily live together in the default
> location of ".ssh/authorized_keys".
>
> I haven't used this feature in OnTAP, so I don't know if it is required
> for setup there.
>
> --
> Darren Dunham                                           ddunham@...
> Senior Technical Consultant         TAOS            http://www.taos.com/
> Got some Dr Pepper?                           San Francisco, CA bay area
>          < This line left intentionally blank to confuse you. >
>
>
>


--
Sheldon Mustard
smustard@...
"There will be no order, only chaos." - Pi (1998)
--

Parent Message unknown RE: ssh config on DOT 7

by Potakamuri, Sreenivasa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All public keys should simply be put into the "authorized_keys" file
for both SSH protocols 1 and 2 for public key authentication.
This is true for all versions of ONTAP.

"authorized_keys2" file was an alternative location for SSH2 protocol,
and its use has been deprecated in NetApp's SSH implementation.
For backward compatibility, NetApp's SSH implementation still looks
for keys in "authorized_keys2" file.



Regards,
Sreenivasa Potakamuri
Network Appliance


!-----Original Message-----
!From: Glenn Dekhayser [mailto:gdekhayser@...]
!Sent: Wednesday, November 08, 2006 8:48 AM
!To: toasters@...
!Subject: RE: ssh config on DOT 7
!
!
!Be CAREFUL here:  the filename is "authorized_keys2" for the SSH
!version2 file, the docs didn't say that, I actually told netapp about
!that Doc bug.  Authorized_keys is for version 1, which you shouldn't be
!using anymore.  Netapp's SSH client is based on OpenSSH so you can
!follow any docs on that to see how it really works.
!
!Glenn (the other one)
!
!-----Original Message-----
!
!> Hello all,
!>
!> So I finally got DOT 7 put into production so I can now use ssh
!> without an addition license.  My question is where do I put my
!> authorized_keys file so I can use key based authentication on the
!> netapp? (i.e. where is or where should I create the .ssh directory)
!>
!> Thanks for any help,
!>
!
!

Parent Message unknown RE: ssh config on DOT 7

by Creek, Toby :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Vmware's client doesn't have 3des-cbc in its list of available ciphers,
although it is compiled in.  Add "3des-cbc" to the end of the Ciphers
line in the /etc/ssh.conf and it'll work fine.  That's the only cipher
the NetApp implements.

Toby
 

> -----Original Message-----
> From: Glenn Dekhayser [mailto:gdekhayser@...]
> Sent: Wednesday, November 08, 2006 3:20 PM
> To: Darren Dunham; toasters@...
> Subject: RE: ssh config on DOT 7
>
> Well, we had the problem when trying to get SSH scripting
> working with VMWare ESX 3 and the Netapp, and we did in fact
> need authorized_keys2 on both the VMWare and the Netapp box
> in order to get RSA/SSHv2 working.
> We tried for a long time to get that working, perhaps we were
> missing something.  When we mentioned this to Netapp they
> confirmed that our assessment was correct and they edited the docs.
>
>
> > Be CAREFUL here:  the filename is "authorized_keys2" for the SSH
> > version2 file, the docs didn't say that, I actually told
> netapp about
> > that Doc bug.  Authorized_keys is for version 1, which you shouldn't
> be
> > using anymore.  Netapp's SSH client is based on OpenSSH so you can
> > follow any docs on that to see how it really works.
>
> Then that would be a difference from the standard OpenSSH releases.
> OpenSSH does not require the use of "authorized_keys2" (or
> hasn't for years).  Both v1 and v2 keys happily live together
> in the default location of ".ssh/authorized_keys".  
>
> I haven't used this feature in OnTAP, so I don't know if it
> is required for setup there.
>
> --
> Darren Dunham                                          
> ddunham@...
> Senior Technical Consultant         TAOS            
> http://www.taos.com/
> Got some Dr Pepper?                           San Francisco,
> CA bay area
>          < This line left intentionally blank to confuse you. >
>
>