SSH Private Key musste erneuert werden ... warum ?

Status
Für weitere Antworten geschlossen.

ruedi66

Benutzer
Mitglied seit
25. Apr 2018
Beiträge
129
Punkte für Reaktionen
29
Punkte
28
Ja, kann sein!
Acronis hat vielleicht einen neuen (eigenen) User in passwd eingetragen und DSM dann /sbin/nologin bei deinem username eingesetzt.
 

ruedi66

Benutzer
Mitglied seit
25. Apr 2018
Beiträge
129
Punkte für Reaktionen
29
Punkte
28
Du kannst in die passwd statt /sbin/nologin ja mal /bin/ash eintragen und schauen obs wieder tut.
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
muss ich nicht dazu erst mal über konsole rein kommen können ??
 

ruedi66

Benutzer
Mitglied seit
25. Apr 2018
Beiträge
129
Punkte für Reaktionen
29
Punkte
28
doch, mit admin anmelden und dann sudo -i
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Accsess denied

sooo bin drin
 
Zuletzt bearbeitet:

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
hab jetzt mal vergeblich versucht die "passwd" zu kopieren. hab nicht die richtigen befehle :mad: ... konsolenarbeit ist einfach nur dreck...
1 Stunde probieren um eine Datei zu öffnen und es geht net.
ich mach morgen weiter, muss rasen mähen ...
 

ruedi66

Benutzer
Mitglied seit
25. Apr 2018
Beiträge
129
Punkte für Reaktionen
29
Punkte
28
Dreck? Ich liebe die Konsole :) Einfacher kann man ein System nicht administrieren.
Du hast es doch auch irgendwie mit der Konsole geschafft, die Keys zu erstellen und am richtigen Ort abzulegen, sonst hätte es ja auch gar nie funktioniert.

mit cat /etc/passwd kannst du sie übrigens anschauen.
 
  • Like
Reaktionen: Zapf

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Wenn man die Befehle kennt is alles einfach. Meine Linux Tage liegen über 10Jahre zurück.

Werd es heute Abend nochmal testen.
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Ich hab mal die logs, wie man sieht hat alles noch bis 10:00 Uhr funktioniert, danach nicht mehr.


2020-07-18T10:07:28+02:00 Zapf-NAS sshd[20878]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:07:43+02:00 Zapf-NAS sshd[20878]: pam_unix(sshd:session): session closed for user admin
2020-07-18T10:07:44+02:00 Zapf-NAS sshd[20891]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:07:45+02:00 Zapf-NAS sshd[20891]: pam_unix(sshd:session): session closed for user admin
2020-07-18T10:07:46+02:00 Zapf-NAS sshd[20898]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:07:47+02:00 Zapf-NAS sshd[20898]: pam_unix(sshd:session): session closed for user admin
2020-07-18T10:07:49+02:00 Zapf-NAS sshd[20906]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:07:50+02:00 Zapf-NAS sshd[20906]: pam_unix(sshd:session): session closed for user admin
2020-07-18T10:07:52+02:00 Zapf-NAS sshd[20913]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:07:55+02:00 Zapf-NAS sshd[20913]: pam_unix(sshd:session): session closed for user admin
2020-07-18T10:07:57+02:00 Zapf-NAS sshd[20924]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:07:58+02:00 Zapf-NAS sshd[20924]: pam_unix(sshd:session): session closed for user admin
2020-07-18T10:08:01+02:00 Zapf-NAS sshd[20932]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T10:08:25+02:00 Zapf-NAS sshd[20932]: pam_unix(sshd:session): session closed for user admin

2020-07-18T10:15:12+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[21131]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T10:17:41+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[22269]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T10:17:59+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[22336]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]

2020-07-18T12:20:55+02:00 Zapf-NAS sshd[26599]: error: Received disconnect from 62.68.7.104 port 37586:3: [preauth]
2020-07-18T12:20:59+02:00 Zapf-NAS sshd[26606]: error: Received disconnect from 62.68.7.104 port 37588:3: [preauth]
2020-07-18T12:21:02+02:00 Zapf-NAS sshd[26613]: error: Received disconnect from 62.68.7.104 port 61285:3: [preauth]
2020-07-18T12:21:06+02:00 Zapf-NAS sshd[26619]: error: Received disconnect from 62.68.7.104 port 37598:3: [preauth]
2020-07-18T12:21:16+02:00 Zapf-NAS sshd[26633]: error: Received disconnect from 62.68.7.104 port 37604:3: [preauth]
2020-07-18T12:24:25+02:00 Zapf-NAS sshd[26748]: error: Received disconnect from 62.68.7.104 port 38172:3: [preauth]
2020-07-18T12:24:54+02:00 Zapf-NAS sshd[26758]: error: Received disconnect from 62.68.7.104 port 38174:3: [preauth]
2020-07-18T12:24:57+02:00 Zapf-NAS sshd[26764]: error: Received disconnect from 62.68.7.104 port 38176:3: [preauth]
2020-07-18T12:25:00+02:00 Zapf-NAS sshd[26769]: error: Received disconnect from 62.68.7.104 port 38178:3: [preauth]
2020-07-18T12:25:56+02:00 Zapf-NAS sshd[26789]: error: Received disconnect from 62.68.7.104 port 38188:3: [preauth]
2020-07-18T12:26:51+02:00 Zapf-NAS sshd[26812]: error: Received disconnect from 62.68.7.104 port 38190:3: java.io.IOException: Server key mismatch [preauth]
2020-07-18T12:26:56+02:00 Zapf-NAS sshd[26816]: error: Received disconnect from 62.68.7.104 port 38192:3: [preauth]
2020-07-18T12:26:59+02:00 Zapf-NAS sshd[26819]: error: Received disconnect from 62.68.7.104 port 38194:3: [preauth]
2020-07-18T12:27:03+02:00 Zapf-NAS sshd[26823]: error: Received disconnect from 62.68.7.104 port 38196:3: [preauth]
2020-07-18T12:45:33+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[27407]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T12:46:40+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[27927]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T12:46:42+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[27933]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T12:50:05+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[28926]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T12:51:11+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:51:11+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:54:44+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:54:44+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:54:53+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:54:53+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:55:13+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:55:14+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:55:16+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:55:17+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:55:18+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:55:19+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:55:20+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:55:21+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:55:23+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:55:23+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:55:26+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:55:26+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:58:01+02:00 Zapf-NAS sshd[10526]: error: Received disconnect from 62.68.7.104 port 38302:3: [preauth]
2020-07-18T12:58:22+02:00 Zapf-NAS sshd[11425]: error: Received disconnect from 62.68.7.104 port 38306:3: [preauth]
2020-07-18T12:58:31+02:00 Zapf-NAS sshd[11736]: error: Received disconnect from 62.68.7.104 port 38308:3: [preauth]
2020-07-18T12:58:43+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:43+02:00 Zapf-NAS sudo: root : TTY=unknown ; PWD=/ ; USER=SynologyApplicationService ; COMMAND=/usr/bin/psql -lqt
2020-07-18T12:58:43+02:00 Zapf-NAS sudo: pam_unix(sudo:session): session opened for user SynologyApplicationService by (uid=0)
2020-07-18T12:58:47+02:00 Zapf-NAS sudo: pam_unix(sudo:session): session closed for user SynologyApplicationService
2020-07-18T12:58:47+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:48+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:50+02:00 Zapf-NAS sudo: root : TTY=unknown ; PWD=/ ; USER=SynologyApplicationService ; COMMAND=/usr/bin/psql -t -d ong -c select version from sql_version order by version desc limit 1;
2020-07-18T12:58:50+02:00 Zapf-NAS sudo: pam_unix(sudo:session): session opened for user SynologyApplicationService by (uid=0)
2020-07-18T12:58:50+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:50+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:51+02:00 Zapf-NAS sudo: pam_unix(sudo:session): session closed for user SynologyApplicationService
2020-07-18T12:58:51+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:51+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:52+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:53+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:53+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:53+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:54+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:54+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:54+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:54+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:55+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:55+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:57+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:58:57+02:00 Zapf-NAS su: pam_unix(su-l:session): session opened for user VideoStation by (uid=0)
2020-07-18T12:58:58+02:00 Zapf-NAS su: pam_unix(su-l:session): session closed for user VideoStation
2020-07-18T12:59:02+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T12:59:02+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T12:59:17+02:00 Zapf-NAS sshd[12811]: error: Received disconnect from 62.68.7.104 port 38310:3: [preauth]
2020-07-18T12:59:42+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user PhotoStation by (uid=0)
2020-07-18T12:59:44+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user PhotoStation
2020-07-18T12:59:50+02:00 Zapf-NAS sudo: root : TTY=unknown ; PWD=/ ; USER=synocalendar ; COMMAND=/usr/local/bin/php72 -d open_basedir=/ /var/packages/Calendar/target/davical/scripts/syno-tz-check.php
2020-07-18T12:59:50+02:00 Zapf-NAS sudo: pam_unix(sudo:session): session opened for user synocalendar by (uid=0)
2020-07-18T12:59:54+02:00 Zapf-NAS sudo: pam_unix(sudo:session): session closed for user synocalendar
2020-07-18T13:02:19+02:00 Zapf-NAS sshd[14340]: error: Received disconnect from 62.68.7.104 port 38316:3: java.io.IOException: Server key mismatch [preauth]
2020-07-18T13:02:24+02:00 Zapf-NAS sshd[14344]: error: Received disconnect from 62.68.7.104 port 38318:3: [preauth]
2020-07-18T13:02:28+02:00 Zapf-NAS sshd[14347]: error: Received disconnect from 62.68.7.104 port 38320:3: [preauth]
2020-07-18T13:02:31+02:00 Zapf-NAS sshd[14352]: error: Received disconnect from 62.68.7.104 port 38322:3: [preauth]
2020-07-18T13:02:56+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[14378]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T13:04:50+02:00 Zapf-NAS sshd[14625]: error: Received disconnect from 62.68.7.104 port 38328:3: [preauth]
2020-07-18T13:04:53+02:00 Zapf-NAS sshd[14638]: error: Received disconnect from 62.68.7.104 port 38330:3: [preauth]
2020-07-18T13:04:56+02:00 Zapf-NAS sshd[14641]: error: Received disconnect from 62.68.7.104 port 38332:3: [preauth]
2020-07-18T13:05:26+02:00 Zapf-NAS sshd[14702]: error: Received disconnect from 62.68.7.104 port 38334:3: [preauth]
2020-07-18T13:05:42+02:00 Zapf-NAS sshd[14733]: error: Received disconnect from 62.68.7.104 port 38338:3: [preauth]
2020-07-18T13:05:46+02:00 Zapf-NAS sshd[14748]: error: Received disconnect from 62.68.7.104 port 38342:3: [preauth]
2020-07-18T13:14:22+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:14:22+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:15:47+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:15:47+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:16:19+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:16:19+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:16:25+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:16:25+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:16:31+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:16:31+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:16:39+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:16:39+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:16:46+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:16:46+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:16:55+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:16:55+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:17:04+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:17:04+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:17:12+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:17:12+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:17:19+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:17:19+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:17:27+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T13:17:27+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
2020-07-18T13:18:55+02:00 Zapf-NAS sshd[16346]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:18:55+02:00 Zapf-NAS sshd[16346]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:19:50+02:00 Zapf-NAS sshd[16476]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:19:50+02:00 Zapf-NAS sshd[16476]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:20:29+02:00 Zapf-NAS sshd[16549]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:20:30+02:00 Zapf-NAS sshd[16549]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:21:47+02:00 Zapf-NAS sshd[16858]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:21:47+02:00 Zapf-NAS sshd[16858]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:24:49+02:00 Zapf-NAS sshd[17615]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:24:49+02:00 Zapf-NAS sshd[17615]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:27:37+02:00 Zapf-NAS sshd[17888]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:27:37+02:00 Zapf-NAS sshd[17888]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:33:26+02:00 Zapf-NAS sshd[18484]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:33:27+02:00 Zapf-NAS sshd[18484]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:34:10+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[18581]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T13:36:28+02:00 Zapf-NAS sshd[18867]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:36:28+02:00 Zapf-NAS sshd[18867]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:39:51+02:00 Zapf-NAS sshd[19282]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T13:39:51+02:00 Zapf-NAS sshd[19282]: pam_unix(sshd:session): session closed for user admin
2020-07-18T13:43:58+02:00 Zapf-NAS sshd[19380]: error: Received disconnect from 89.204.130.202 port 20606:3: [preauth]
2020-07-18T13:44:04+02:00 Zapf-NAS sshd[19384]: error: Received disconnect from 89.204.130.202 port 16831:3: [preauth]
2020-07-18T13:44:07+02:00 Zapf-NAS sshd[19387]: error: Received disconnect from 89.204.130.202 port 14791:3: java.io.IOException: verify: false [preauth]
2020-07-18T13:49:05+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[19516]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T13:54:49+02:00 Zapf-NAS sshd[20261]: error: Received disconnect from 89.204.130.202 port 12421:3: [preauth]
2020-07-18T13:57:18+02:00 Zapf-NAS synoscimprofile: ../..//include/provisioning/../dao/BaseDao.h:21 ERROR: setresuid(-1, 0, -1) [Operation not permitted]
2020-07-18T13:57:18+02:00 Zapf-NAS synoscimprofile: ../..//include/provisioning/../dao/BaseDao.h:21 ERROR: setresuid(-1, 0, -1) [Operation not permitted]
2020-07-18T13:57:18+02:00 Zapf-NAS synoscimprofile: ../..//include/provisioning/../dao/BaseDao.h:21 ERROR: setresuid(-1, 0, -1) [Operation not permitted]
2020-07-18T14:00:53+02:00 Zapf-NAS sshd[21174]: pam_unix(sshd:session): session opened for user Zapf by (uid=0)
2020-07-18T14:00:53+02:00 Zapf-NAS sshd[21174]: pam_unix(sshd:session): session closed for user Zapf
2020-07-18T14:01:36+02:00 Zapf-NAS synoscimprofile: ../..//include/provisioning/../dao/BaseDao.h:21 ERROR: setresuid(-1, 0, -1) [Operation not permitted]
2020-07-18T14:01:36+02:00 Zapf-NAS synoscimprofile: ../..//include/provisioning/../dao/BaseDao.h:21 ERROR: setresuid(-1, 0, -1) [Operation not permitted]
2020-07-18T14:01:36+02:00 Zapf-NAS synoscimprofile: ../..//include/provisioning/../dao/BaseDao.h:21 ERROR: setresuid(-1, 0, -1) [Operation not permitted]
2020-07-18T14:03:50+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[21774]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T14:04:05+02:00 Zapf-NAS sshd[21687]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.178.38
2020-07-18T14:04:05+02:00 Zapf-NAS sshd[21687]: pam_syno_log_fail(sshd:auth): Can't get user uid (admin sudo -i).
2020-07-18T14:04:34+02:00 Zapf-NAS sshd[21687]: pam_syno_log_fail(sshd:auth): Can't get user uid (admin sudo -i).
2020-07-18T14:04:48+02:00 Zapf-NAS sshd: SYSTEM: Last message 'pam_syno_log_fail(ss' repeated 1 times, suppressed by syslog-ng on Zapf-NAS
2020-07-18T14:04:48+02:00 Zapf-NAS sshd[21687]: pam_syno_log_fail(sshd:auth): Can't get user uid (admin sudo -i).
2020-07-18T14:06:16+02:00 Zapf-NAS sshd[22126]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.178.38
2020-07-18T14:06:16+02:00 Zapf-NAS sshd[22126]: pam_syno_log_fail(sshd:auth): Can't get user uid (admin sudo -i).
2020-07-18T14:06:29+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[22152]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T14:08:16+02:00 Zapf-NAS sshd[22265]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.178.38 user=admin
2020-07-18T14:09:30+02:00 Zapf-NAS sshd[22305]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.178.38
2020-07-18T14:09:30+02:00 Zapf-NAS sshd[22305]: pam_syno_log_fail(sshd:auth): Can't get user uid (admin sudo).
2020-07-18T14:10:50+02:00 Zapf-NAS sshd[22415]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.178.38
2020-07-18T14:10:50+02:00 Zapf-NAS sshd[22415]: pam_syno_log_fail(sshd:auth): Can't get user uid (admin sudo -i).
2020-07-18T14:17:20+02:00 Zapf-NAS sshd[23667]: pam_unix(sshd:session): session opened for user admin by (uid=0)
2020-07-18T14:45:52+02:00 Zapf-NAS sshd[23667]: pam_unix(sshd:session): session closed for user admin
2020-07-18T14:50:33+02:00 Zapf-NAS synoscgi_SYNO.Core.Desktop.Initdata_1_get[26787]: ERROR: initgroups(PhotoStation, 138862) [Operation not permitted]
2020-07-18T14:51:38+02:00 Zapf-NAS su: pam_unix(su:session): session opened for user postgres by (uid=0)
2020-07-18T14:51:38+02:00 Zapf-NAS su: pam_unix(su:session): session closed for user postgres
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Hier noch der Log von "messages".



2020-07-18T05:00:06+02:00 Zapf-NAS kernel: [2579639.428559] ata1: wake up from deepsleep, reset link now
2020-07-18T05:00:06+02:00 Zapf-NAS kernel: [2579639.494104] ata1: device plugged sstatus 0x123
2020-07-18T05:00:12+02:00 Zapf-NAS kernel: [2579648.386124] ata1: link is slow to respond, please be patient (ready=0)
2020-07-18T05:00:13+02:00 Zapf-NAS kernel: [2579650.112009] ata1: wake up successful, the reset fail can be ignored
2020-07-18T07:44:20+02:00 Zapf-NAS kernel: [2589500.561967] ata1: wake up from deepsleep, reset link now
2020-07-18T07:44:20+02:00 Zapf-NAS kernel: [2589500.627049] ata1: device plugged sstatus 0x123
2020-07-18T07:44:26+02:00 Zapf-NAS kernel: [2589509.510903] ata1: link is slow to respond, please be patient (ready=0)
2020-07-18T07:44:28+02:00 Zapf-NAS kernel: [2589511.296609] ata1: wake up successful, the reset fail can be ignored
2020-07-18T08:56:57+02:00 Zapf-NAS ddnsd: ddnsd.c:2989 DDNS Expired. UpdateAll.
2020-07-18T08:56:58+02:00 Zapf-NAS ddnsd: ddnsd.c:1944 Success to update [zapf-nas.DiskStation.me] with IP [62.68.7.104] at [Synology]
2020-07-18T10:16:08+02:00 Zapf-NAS synoscgi_SYNO.Core.Package_2_list[21266]: list.cpp:330 SYNO.Core.Package.list rollback to direct call
2020-07-18T10:17:12+02:00 Zapf-NAS synoscgi_SYNO.Core.Package_2_list[21831]: list.cpp:330 SYNO.Core.Package.list rollback to direct call
2020-07-18T10:17:23+02:00 Zapf-NAS synoscgi_SYNO.Core.Package.Installation_1_install[22024]: resource_api.cpp:190 Acquire service-cfg for AcronisTrueImage when 0x0001 (done)
2020-07-18T10:18:02+02:00 Zapf-NAS synoscgi_SYNO.Core.Package_2_list[22295]: list.cpp:330 SYNO.Core.Package.list rollback to direct call
2020-07-18T12:46:09+02:00 Zapf-NAS synoscgi_SYNO.Core.Package_2_list[27472]: list.cpp:330 SYNO.Core.Package.list rollback to direct call
2020-07-18T12:46:35+02:00 Zapf-NAS synoscgi_SYNO.Core.Package.Uninstallation_1_uninstall[27900]: resource_api.cpp:289 Release service-cfg for AcronisTrueImage when 0x0004 (done)
2020-07-18T12:46:50+02:00 Zapf-NAS synoscgi_SYNO.Core.Package_2_list[27922]: list.cpp:330 SYNO.Core.Package.list rollback to direct call
2020-07-18T12:46:50+02:00 Zapf-NAS synoscgi_SYNO.Core.Package_2_list[27913]: list.cpp:330 SYNO.Core.Package.list rollback to direct call
2020-07-18T12:50:28+02:00 Zapf-NAS synoscgi_SYNO.Core.System_1_shutdown[29058]: system_sys_init.c:95 synopoweroff: System is going to poweroff
2020-07-18T12:50:28+02:00 Zapf-NAS ddnsd: ddnsd.c:2916 DDNS got SIGTERM. Terminate Daemon.
2020-07-18T12:50:29+02:00 Zapf-NAS kernel: [2607884.873742] init: synonetd main process (1470) killed by TERM signal
2020-07-18T12:50:29+02:00 Zapf-NAS kernel: [2607884.908859] init: hotplugd main process (5276) killed by TERM signal
2020-07-18T12:50:29+02:00 Zapf-NAS kernel: [2607884.948268] init: smbd main process (6185) killed by TERM signal
2020-07-18T12:50:29+02:00 Zapf-NAS kernel: [2607885.177002] init: synostoraged main process (4623) terminated with status 15
2020-07-18T12:50:30+02:00 Zapf-NAS kernel: [2607885.743987] init: ddnsd main process (5473) terminated with status 1
2020-07-18T12:50:30+02:00 Zapf-NAS syno_poweroff_task: System is acting poweroff.
2020-07-18T12:50:31+02:00 Zapf-NAS kernel: [2607886.454715] init: inetd main process (9911) killed by TERM signal
2020-07-18T12:50:31+02:00 Zapf-NAS synodisklatencyd: synodisklatencyd.cpp:659 Stop disk latency monitor daemon by SIGTERM
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29211]: '/lib/udev/script/usb.sh loop5' [29233] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29210]: '/lib/udev/script/usb.sh loop6' [29249] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29188]: '/lib/udev/script/usb.sh loop2' [29207] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29187]: '/lib/udev/script/usb.sh loop4' [29227] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29186]: '/lib/udev/script/usb.sh loop1' [29204] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29177]: '/lib/udev/script/usb.sh loop3' [29231] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[29165]: '/lib/udev/script/usb.sh loop0' [29203] terminated by signal 15 (Terminated)
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[1457]: worker [29165] did not accept message -1 (Connection refused), kill it
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[1457]: worker [29177] did not accept message -1 (Connection refused), kill it
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[1457]: worker [29186] did not accept message -1 (Connection refused), kill it
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[1457]: worker [29187] did not accept message -1 (Connection refused), kill it
2020-07-18T12:50:32+02:00 Zapf-NAS udevd[1457]: worker [29187] terminated by signal 9 (Killed)
2020-07-18T12:50:33+02:00 Zapf-NAS kernel: [2607888.978574] init: nmbd main process (15477) killed by KILL signal
2020-07-18T12:50:33+02:00 Zapf-NAS kernel: [2607889.172107] init: upnpd main process (15502) killed by KILL signal
2020-07-18T12:50:44+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release csp-rule for FileStation when 0x0000 (done)
2020-07-18T12:50:44+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release web-config for FileStation when 0x0000 (done)
2020-07-18T12:50:44+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for FileStation when 0x0000 (done)
2020-07-18T12:50:44+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for FileStation when 0x0000 (done)
2020-07-18T12:50:45+02:00 Zapf-NAS synopkgctl: SYSTEM: Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on Zapf-NAS
2020-07-18T12:50:45+02:00 Zapf-NAS synovideoconversiond: event_ability.cpp:34 got signal 15, terminating daemon
2020-07-18T12:50:48+02:00 Zapf-NAS kernel: [2607903.424154] init: pkg-synocalendar-pushserver main process (14528) killed by TERM signal
2020-07-18T12:50:49+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release synocrond for OAuthService when 0x0000 (done)
2020-07-18T12:50:49+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for OAuthService when 0x0000 (done)
2020-07-18T12:50:49+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for OAuthService when 0x0000 (done)
2020-07-18T12:50:50+02:00 Zapf-NAS synopkgctl: SYSTEM: Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on Zapf-NAS
2020-07-18T12:50:50+02:00 Zapf-NAS synovideopreprocessd: event_ability.cpp:34 got signal 15, terminating daemon
2020-07-18T12:50:50+02:00 Zapf-NAS synopkgctl: servicecfg_internal_lib.c:372 skip reload stopping/stopped job [synomkthumbd][0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:50+02:00 Zapf-NAS synopkgctl: media_index.cpp:88 Faild to reload synomkthumbd[0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:50+02:00 Zapf-NAS synopkgctl: servicecfg_internal_lib.c:372 skip reload stopping/stopped job [synomkflvd][0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:50+02:00 Zapf-NAS synopkgctl: media_index.cpp:91 Faild to reload synomkflvd[0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:50+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release media-index for PhotoStation when 0x0000 (done)
2020-07-18T12:50:53+02:00 Zapf-NAS kernel: [2607908.625732] init: pkg-synocalendar-phpfpm main process (14366) killed by KILL signal
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: servicecfg_internal_lib.c:372 skip reload stopping/stopped job [synomkthumbd][0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: media_index.cpp:88 Faild to reload synomkthumbd[0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: servicecfg_internal_lib.c:372 skip reload stopping/stopped job [synomkflvd][0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: media_index.cpp:91 Faild to reload synomkflvd[0xD300 servicectl_job_reload.c:29]
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release media-index for VideoStation when 0x0000 (done)
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release csp-rule for VideoStation when 0x0000 (done)
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release web-config for VideoStation when 0x0000 (done)
2020-07-18T12:50:53+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for VideoStation when 0x0000 (done)
2020-07-18T12:50:54+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for VideoStation when 0x0000 (done)
2020-07-18T12:50:59+02:00 Zapf-NAS synopkgctl: SYSTEM: Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on Zapf-NAS
2020-07-18T12:50:59+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release usr-local-linker for PHP7.0 when 0x0000 (done)
2020-07-18T12:51:00+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release csp-rule for Calendar when 0x0000 (done)
2020-07-18T12:51:00+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release web-config for Calendar when 0x0000 (done)
2020-07-18T12:51:00+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for Calendar when 0x0000 (done)
2020-07-18T12:51:00+02:00 Zapf-NAS synopkgctl: sock_connect.cpp:49 (29722, 0) Failed to connect server [err: No such file or directory]
2020-07-18T12:51:00+02:00 Zapf-NAS synopkgctl: webapi_desc.cpp:332 Can not access synoscgi-fastapi.sock. {"api":"SYNO.Core.OAuth.Scope","id":["Calendar.voiceassistant"],"method":"delete","version":1}
2020-07-18T12:51:02+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for Calendar when 0x0000 (done)
2020-07-18T12:51:02+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release pam-config for Calendar when 0x0000 (done)
2020-07-18T12:51:03+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for SynoFinder when 0x0000 (done)
2020-07-18T12:51:03+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for SynoFinder when 0x0000 (done)
2020-07-18T12:51:09+02:00 Zapf-NAS synopkgctl: SYSTEM: Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on Zapf-NAS
2020-07-18T12:51:09+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release usr-local-linker for PHP7.2 when 0x0000 (done)
2020-07-18T12:51:10+02:00 Zapf-NAS kernel: [2607925.565066] init: pkg-SynologyApplicationService-notification_send main process (12968) killed by TERM signal
2020-07-18T12:51:11+02:00 Zapf-NAS kernel: [2607926.968854] init: pkg-SynologyApplicationService-pgbouncer main process (13039) terminated with status 1
2020-07-18T12:51:12+02:00 Zapf-NAS kernel: [2607928.256462] init: pkg-SynologyApplicationService-VapidSendServer main process (13097) killed by TERM signal
2020-07-18T12:51:15+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release usr-local-linker for SynologyApplicationService when 0x0000 (done)
2020-07-18T12:51:15+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for SynologyApplicationService when 0x0000 (done)
2020-07-18T12:51:15+02:00 Zapf-NAS synopkgctl: resource_api.cpp:289 Release webapi-desc for SynologyApplicationService when 0x0000 (done)
2020-07-18T12:51:36+02:00 Zapf-NAS synopkgctl: SYSTEM: Last message 'resource_api.cpp:289' repeated 1 times, suppressed by syslog-ng on Zapf-NAS
2020-07-18T12:51:36+02:00 Zapf-NAS kernel: [2607951.584823] init: synoscheduler-vmtouch main process (11476) killed by TERM signal
2020-07-18T12:51:36+02:00 Zapf-NAS kernel: [2607951.807663] init: pgsql pre-stop process (30030) terminated with status 2
2020-07-18T12:51:36+02:00 Zapf-NAS kernel: [2607951.863992] init: Disconnected from D-Bus system bus
2020-07-18T12:51:37+02:00 Zapf-NAS synoiscsiep: iscsi_stop_all.cpp:97 Successfully stopped iSCSI service.
2020-07-18T12:51:39+02:00 Zapf-NAS root: Check device busy: passed
2020-07-18T12:51:40+02:00 Zapf-NAS synoiscsihook: iscsi_stop_all.cpp:97 Successfully stopped iSCSI service.
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] CPU: Marvell PJ4Bv7 Processor [561f5811] revision 1 (ARMv7), cr=18c53c7d
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Machine: Marvell Armada-370
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Using UBoot passing parameters structure
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] >>>>>>>Tag MAC 36:34:2d:43:50:00
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] >>>>>>>Tag MAC 00:00:00:00:00:00
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Memory policy: ECC disabled, Data cache writealloc
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 65024
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Synology Hardware Version: DS115j-j
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Internal HD num: 0
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] Internal netif num: 1
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 0.000000] a370_time_init
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.099491] L0 cache Enabled
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.099505] Speculative Prefetch Disabled
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.099568] Support IO coherency.
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.099584] Enable DLB and DRAM write coalescing
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.111263]
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.111271] CPU Interface
2020-07-18T12:53:37+02:00 Zapf-NAS kernel: [ 7.111277] -------------
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Hallo,
weis jemand warum Synology den Punkt 2.5 aus dieser Anleitung genommen hat ??? Dort war eine Schritt für Schritt Anleitung wie man Schlüsselpaare anlegt.
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Hallo,
ich brauch ma Hilfe. Hab ein neues Schlüsselpaar erzeugt, aber will einfach nicht mehr funktionieren. Im Netz habe ich keine ordentlich Anleitung gefunden. Rechte der Dateien (Schlüssel) hab ich richtig vergeben - denke ich.

Mit:
chmod 0700 ~/.ssh
chown -R BENUTZER ~/.ssh
chown -R BENUTZER ~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys

Hab mich mal nach dieser Anleitung gehalten
 

Fusion

Benutzer
Sehr erfahren
Mitglied seit
06. Apr 2013
Beiträge
14.164
Punkte für Reaktionen
915
Punkte
424
Relative Pfade wie ~/ beziehen sich auf das Home des angemeldeten Benutzers. Folglich nur korrekt, wenn du mit root angemeldet bist.
Dann musst du aber normal auch nicht den Besitz der Dateien ändern, weil die angelegten Dateien und Ordner unter /root/.ssh eh schon root gehören.
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
aber dann sollte es passen, ich bin der einzigste benutzer und zugleich admin.

habs mal mit chown -R admin /var/services/homes/admin/.ssh versucht. Geht aber nicht
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Jetz wollte ich mal die Schlüssel von der DS erstellen lassen. jetz bekomm ich das hier
 

Anhänge

  • InkedAnmerkung 2020-07-19 110312_LI.jpg
    InkedAnmerkung 2020-07-19 110312_LI.jpg
    106,1 KB · Aufrufe: 5

Fusion

Benutzer
Sehr erfahren
Mitglied seit
06. Apr 2013
Beiträge
14.164
Punkte für Reaktionen
915
Punkte
424
Einziger Benutzer ist admin... Das solltest du überdenken.

Erst mal per 'sudo -i' zum Konto root wechseln.
Dann den Schlüssel in /root/.ssh/ erstellen.
Dann den privaten Schlüssel auf den Client holen (entweder per cp auf einen gemeinsamen Ordner bringen, oder per 'cat /root/.ssh/id_rsa' im Terminal anzeigen lassen und kopieren).
Dann damit einloggen als Benutzer root
 

Tommes

Benutzer
Sehr erfahren
Maintainer
Mitglied seit
26. Okt 2009
Beiträge
9.736
Punkte für Reaktionen
1.643
Punkte
314
Vielleicht wäre das 3rdParty Paket SShConfig hier hilfreich
 
Zuletzt bearbeitet:

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Einziger Benutzer ist admin... Das solltest du überdenken.

Erst mal per 'sudo -i' zum Konto root wechseln.
Dann den Schlüssel in /root/.ssh/ erstellen.
Dann den privaten Schlüssel auf den Client holen (entweder per cp auf einen gemeinsamen Ordner bringen, oder per 'cat /root/.ssh/id_rsa' im Terminal anzeigen lassen und kopieren).
Dann damit einloggen als Benutzer root


muss nicht noch eine authorized_keys datei angelegt werden ??
 

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
Ich beschreibe mal wie ch vorgehe:
1. Login über SSH mit Putty
2. Schlüssel erzeugen in /home/admin/.ssh mit "ssh-keygen -b 4096"
Schlüssel werden angelegt, id_rsa und id_rsa.pub
3. id_rsa in Puttgen laden und eine ppk für client erzeugen
4. der von Puttygen angezeigte Text für "authorized_key" kopieren und in eine Textdatei (authorized_key) einfügen, speichern.
5. authorized_key zurück in /home/admin/.ssh kopieren

hab ich was vergessen ?

Das mit root funktioniert auch nicht


PS Warum hat Synology ihre Anleitung eigentlich entfernt? Damit wars in 10 Min. erledigt. Wollen die nicht, daß Sicherheit auch für Laien zugänglich ist ??
 
Zuletzt bearbeitet:

Zapf

Benutzer
Mitglied seit
18. Aug 2018
Beiträge
29
Punkte für Reaktionen
0
Punkte
1
.... ich gebe es auf.
Ich lösche alle Schlüssel, gehe wieder mit Passwort rein. Werde mal mit Synology Kontakt aufnehmen, die sollen die Anleitung wieder online stellen, oder mir per Mail zukommen lassen. Bin mal gespannt ob ich die bekomme, wahrscheinlich muss ich ein großes Blutbild, ne Urin- und Stuhlprobe einschicken, um da ran zukommen :censored:

Danke ...
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat