LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-06-2016, 09:51 AM   #61
riwi
Member
 
Registered: Jul 2011
Location: Netherlands
Distribution: Slackware64 14.2
Posts: 64

Rep: Reputation: Disabled

I actually downloaded puttygen 066 before re generating the keys. But there is no option for ecdsa keys there.

I've now installed 1.0.1e from the original 14.1 Slackware DVD. With an orignal sshd_config file. But the DSA keys are still not accepted.

Also when connecting from my other slackware64 14.1 machines (with openssl 1.0.1q) I get a password prompt instead of the key exchange method.
 
Old 02-06-2016, 09:53 AM   #62
riwi
Member
 
Registered: Jul 2011
Location: Netherlands
Distribution: Slackware64 14.2
Posts: 64

Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
Folks who work on telco software (I used to) would put a LOT of effort into making the installers/upgraders stupid-simple and able to back out of messed up installations on their own.
I expected slackpkg to keep a copy of the old packages. But alas it does not.

And yes I prepare for the upgrades on telco equipment a lot better. And even then you get stung sometimes.

Last edited by riwi; 02-06-2016 at 09:55 AM.
 
Old 02-06-2016, 10:11 AM   #63
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by riwi View Post
I actually downloaded puttygen 066 before re generating the keys. But there is no option for ecdsa keys there.

I've now installed 1.0.1e from the original 14.1 Slackware DVD. With an orignal sshd_config file. But the DSA keys are still not accepted.

Also when connecting from my other slackware64 14.1 machines (with openssl 1.0.1q) I get a password prompt instead of the key exchange method.
DSA keys go into ~/.ssh/authorized_keys2 on the target box, I think.
 
Old 02-06-2016, 10:38 AM   #64
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
Quote:
Originally Posted by riwi View Post
I actually downloaded puttygen 066 before re generating the keys. But there is no option for ecdsa keys there.
maybe you can have a better luck with a snapshot
Quote:
Originally Posted by riwi View Post
I expected slackpkg to keep a copy of the old packages. But alas it does not.
if you want that you have to set explicitly the option DELALL=off in /etc/slackpkg/slackpkg.conf (it's written in that same file and in the slackpkg.conf man page) or pass it in the command line with -delall=off.

IMHO downgrading openssl is not a good idea at all.

Last edited by ponce; 02-06-2016 at 10:42 AM.
 
2 members found this post helpful.
Old 02-06-2016, 12:35 PM   #65
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
The SSH default change got me back in Aug http://www.linuxquestions.org/questi...in-4175552555/

The openSSH developers made the change and announced it back then http://www.openssh.com/txt/release-7.1
 
Old 02-07-2016, 04:22 AM   #66
riwi
Member
 
Registered: Jul 2011
Location: Netherlands
Distribution: Slackware64 14.2
Posts: 64

Rep: Reputation: Disabled
I've now created keys based on rsa with PuttyGen and these work OK. Even after upgrading back to the 1.0.1r version.

I think that the new algorithms like ecdsa are probably better. So I will generate the keys for the Windows clients on the Slackware side using the ssh-keygen tool. And then distribute the client side private keys to the clients. I have 4 Slackware machines (desktop, 2x NAS, router/webserver) and 3 windows clients so not too much work.

Still I find it strange that my dsa keys no longer work. When restarting SSHD the host keys for dsa are generated normally. All documentation still mentions DSA as a valid option.

Edit:
Just updated my desktop slackware to 1.0.1r and restarted sshd. For this machine the root login is still working OK eventhough the PermitRootLogin=yes is hashed out. Also the dsa key from the windows machine is still accepted.

I do have multilib installed on both machines. Could this have any influence?
Code:
[ Status           ] [ Repository               ] [ Package                                  ]
   installed                                        openssl-1.0.1r-x86_64-1_slack14.1
   installed                                        openssl-solibs-1.0.1r-x86_64-1_slack14.1
  uninstalled          alienbob                     pyopenssl-0.11-x86_64-1alien
   installed           multilib                     openssl-solibs-compat32-1.0.1q-x86_64-1_slack14.1compat32
   installed           multilib                     openssl-compat32-1.0.1q-x86_64-1_slack14.1compat32
The multilib version of openssl is still on q

Last edited by riwi; 02-07-2016 at 04:43 AM.
 
Old 02-07-2016, 07:40 AM   #67
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by riwi View Post
I expected slackpkg to keep a copy of the old packages. But alas it does not.
removepkg has a --preserve option which I believe reassembles a package tarball for the removed package. It would be a nice extension to have a similar extension to slackpkg (and I guess upgradepkg, which I assume is used under the hood) so one could have a revertable upgrade. Of course I suppose there could be snakes in the grass with simlinks and such created by the doinst script. So it might not be practical.

Dave
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh to non-22 not working, edited sshd_config and restarted sshd NirvanaBaby Linux - Server 13 08-18-2011 09:48 AM
Starting sshd: /etc/ssh/sshd_config line 60: garbage at end of line; "no". any clue? loba09 Linux - Server 1 02-17-2011 07:04 PM
crux4slack package updated Falcony Slackware 6 11-04-2009 11:37 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
sshd package? fenderman11111 Debian 2 10-17-2004 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration