ssh and shared key not working

A new update of DSM3.0, including multiple volumes on a single Raid, shared folder synchronization, wireless printing, multimedia enrichment, and more user friendly Surveillance solutions...etc.
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/su ... p?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
iolo
Novice
Novice
Posts: 55
Joined: Sun Jun 22, 2008 10:48 pm

ssh and shared key not working

Unread post by iolo » Thu Jan 20, 2011 10:01 pm

Hi all,

I can't connect with ssh in shared key mode since this 3.1 beta...
I have updated my sshdconfig and put back the authorized key file as I do after each upgrade but this time, no luck.
Is there anything I miss around ssh ? Any change ?
Anybody with the same issue ?

Thanks

iolo
Novice
Novice
Posts: 55
Joined: Sun Jun 22, 2008 10:48 pm

Re: ssh and shared key not working

Unread post by iolo » Fri Jan 21, 2011 10:31 am

Did someone successfully connect to its synology in 3.1 beta with ssh and public key authentication ?

goetz
Knowledgeable
Knowledgeable
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: ssh and shared key not working

Unread post by goetz » Fri Jan 21, 2011 1:46 pm

Hi,
its a bug. I use now /usr/syno/sbin/sshd from DSM3.0 .pat file and it works.

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI

User avatar
GNaschenweng
Experienced
Experienced
Posts: 100
Joined: Fri Jul 11, 2008 5:50 pm
Location: South Africa
Contact:

Re: ssh and shared key not working

Unread post by GNaschenweng » Fri Jan 21, 2011 3:52 pm

got the same problem. how can one miss the most obvious feature and introduce this as a bug (I now it's beta, but really?)
DS-1010+ FW 6.0 - SHR - 5 x Seagate ST3000DM001 (3 TB)
Odroid C2 / PS4Pro / UniFi
Visit my blog for Synology tips ~ https://www.naschenweng.info/tag/synology-2/

iolo
Novice
Novice
Posts: 55
Joined: Sun Jun 22, 2008 10:48 pm

Re: ssh and shared key not working

Unread post by iolo » Fri Jan 21, 2011 4:27 pm

Thanks for your reply!

Red flag for synology! I may stay away from beta in the future, this one is a really annoying bug which makes me loose my confidence in synology beta software.

Goetz, have you just replaced the sshd prog by the 3.0 one to solve this ?

goetz
Knowledgeable
Knowledgeable
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: ssh and shared key not working

Unread post by goetz » Fri Jan 21, 2011 4:53 pm

Hi,
iolo wrote:Goetz, have you just replaced the sshd prog by the 3.0 one to solve this ?
Yes.

Code: Select all

mv /usr/syno/sbin/sshd /usr/syno/sbin/sshd.org
mv /volume1/public/sshd /usr/syno/sbin/
chmod 755 /usr/syno/sbin/sshd
chown root:root /usr/syno/sbin/sshd
Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI

iolo
Novice
Novice
Posts: 55
Joined: Sun Jun 22, 2008 10:48 pm

Re: ssh and shared key not working

Unread post by iolo » Fri Jan 21, 2011 9:08 pm

Could anyone send me the DS410J version of the sshd from 3.0 ? (I have got the DS207+ version but it is not working, not the same architecture).
This bug is really really *%*%*%*%!!!

goetz
Knowledgeable
Knowledgeable
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: ssh and shared key not working

Unread post by goetz » Fri Jan 21, 2011 10:26 pm

Hi,
download 1354 for your DS, rename .pat to .tgz, now you can extract it (totalcommander for Windows or native on macos).

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI

iolo
Novice
Novice
Posts: 55
Joined: Sun Jun 22, 2008 10:48 pm

Re: ssh and shared key not working

Unread post by iolo » Fri Jan 21, 2011 10:37 pm

Thanks Goetz for your great help!

csimes
I'm New!
I'm New!
Posts: 1
Joined: Sat Mar 05, 2011 12:20 pm

Re: ssh and shared key not working

Unread post by csimes » Sat Mar 05, 2011 12:28 pm

FYI - this appears to still be broken in the latest official release, 3.1-1594.

Very annoying!

iolo
Novice
Novice
Posts: 55
Joined: Sun Jun 22, 2008 10:48 pm

Re: ssh and shared key not working

Unread post by iolo » Sat Mar 05, 2011 5:42 pm

Not on my side, are you sure?

User avatar
GNaschenweng
Experienced
Experienced
Posts: 100
Joined: Fri Jul 11, 2008 5:50 pm
Location: South Africa
Contact:

Re: ssh and shared key not working

Unread post by GNaschenweng » Sun Mar 06, 2011 6:20 am

iolo wrote:Not on my side, are you sure?
I also have the same problem - also on 3.1-1594.
DS-1010+ FW 6.0 - SHR - 5 x Seagate ST3000DM001 (3 TB)
Odroid C2 / PS4Pro / UniFi
Visit my blog for Synology tips ~ https://www.naschenweng.info/tag/synology-2/

Locked

Return to “DiskStation Manager 3.1 Beta - 1553”