Linux 2022-08-18 12:26

|
alexmb7 2022-08-18 12:26:11
how.to.make verbose.mode.i.gotta check myself
alexmb7 2022-08-18 12:27:51
min 2022-08-18 12:25:27
It didn’t change anything

try

printf >>~git/.ssh/authorized_keys \n

once

min 2022-08-18 12:30:20
Found more verbose log (:
debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/user/.ssh/id_rsa RSA SHA256:MCf5Kz0FcKSg/EDQ7BizkCTWZWMdaYECq6KN0DBYFa4 agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /home/user/.ssh/id_dsa
debug3: no such identity: /home/user/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/user/.ssh/id_ecdsa
debug3: no such identity: /home/user/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /home/user/.ssh/id_ecdsa_sk
debug3: no such identity: /home/user/.ssh/id_ecdsa_sk: No such file or directory
debug1: Trying private key: /home/user/.ssh/id_ed25519
debug3: no such identity: /home/user/.ssh/id_ed25519: No such file or directory
debug1: Trying private key: /home/user/.ssh/id_ed25519_sk
debug3: no such identity: /home/user/.ssh/id_ed25519_sk: No such file or directory
debug1: Trying private key: /home/user/.ssh/id_xmss
debug3: no such identity: /home/user/.ssh/id_xmss: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
git@localhost’s password:
alexmb7 2022-08-18 12:43:02
id_rsa missing it says
alexmb7 2022-08-18 12:43:24
also i.think.it should list.other.values.there.at debug1 ‘… are.possible’
min 2022-08-18 12:44:30
alexmb7 2022-08-18 12:43:02
id_rsa missing it says

No, it’s here

alexmb7 2022-08-18 12:45:08
maybe wrong perm
alexmb7 2022-08-18 12:45:45
linux_group-1394367.jpg

min 2022-08-18 13:32:02
From sshd log:
debug3: mm_answer_keyallowed: publickey authentication test: RSA key is not allowed
alexmb7 2022-08-18 13:43:58
Musician turns Windows 95 into a chiptune album on an actual Sega Genesis cart | PC Gamer
https://www.pcgamer.com/musician-turns-windows-95-into-a-chiptune-album-on-an-actual-sega-genesis-cart/

Musician turns Windows 95 into a chiptune album on an actual Sega Genesis cartPC Gamer
Extreme dedication to the (16-)bit.
alexmb7 2022-08-18 13:44:50
min 2022-08-18 13:32:02
From sshd log:
debug3: mm_answer_keyallowed: publickey authentication test: RSA key is not allowed

yes as i said u have a include.only auth mechs of.bs

alexmb7 2022-08-18 13:45:25
look in your sshd_config and comment out or.write.better ( include rsa look up.in google hoe )
ddhossein 2022-08-18 13:49:33
min 2022-08-18 13:32:02
From sshd log:
debug3: mm_answer_keyallowed: publickey authentication test: RSA key is not allowed

do you have config file in your .ssh folder?

min 2022-08-18 16:03:49
Server configuration fix this
min 2022-08-18 16:03:53
Thanks all
min 2022-08-18 16:04:24
But now if I run /sbin/sshd manually it works fine
min 2022-08-18 16:04:56
Bot if I start sshd.service it doesn’t
smol_mazunki 2022-08-18 16:07:49
min 2022-08-18 16:04:56
Bot if I start sshd.service it doesn’t

what does the logs say

xatties 2022-08-18 16:08:05
Bro i switched to x11 for a second
xatties 2022-08-18 16:08:09
Holy shit x11 sucks
smol_mazunki 2022-08-18 16:08:10
xatties 2022-08-18 16:08:05
Bro i switched to x11 for a second

ew stop

xatties 2022-08-18 16:08:19
Wayland king
smol_mazunki 2022-08-18 16:08:26
it’s da wae
xatties 2022-08-18 16:08:36
Wayland nr. 1
xatties 2022-08-18 16:08:49
Fuck it my 3080’s fans die from going on and off everytime
smol_mazunki 2022-08-18 16:08:52
http://www.youtube.com/watch?v=AG8VFyW61e0

We Are Number One but Live w/ Stefan Karl!YouTube
Charity for Cholangiocarcinoma, to help more people like Stefan:
https://www.justgiving.com/ammf

Original Video: https://www.facebook.com/WeAreNumberOneLiveEvent/videos/551909668347068/

The cast who performed the song We Are Number One from Lazy Town TV show are coming together for this event only. Stefan Karl the actor who portrayed Robbie Rotten in Lazy Town is fighting cancer and has received lots of support from his fans worldwide. This event is set up with the actors involved to give back to the community that so madly enjoys the meme sensation of the ‘We Are Number One’ song.

min 2022-08-18 16:09:55
smol_mazunki 2022-08-18 16:07:49
what does the logs say

~ $ systemctl start sshd
~ $ systemctl status sshd
● sshd.service – OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2022-08-18 16:09:08 MSK; 9s ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 12703 (sshd)
Tasks: 1 (limit: 38392)
Memory: 1.3M
CPU: 10ms
CGroup: /system.slice/sshd.service
└─ 12703 “sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups”

авг 18 16:09:08 fedora systemd[1]: Starting sshd.service – OpenSSH server daemon…
авг 18 16:09:08 fedora sshd[12703]: Server listening on 0.0.0.0 port 22.
авг 18 16:09:08 fedora sshd[12703]: Server listening on :: port 22.
авг 18 16:09:08 fedora systemd[1]: Started sshd.service – OpenSSH server daemon.
~ $ ssh git@127.0.0.1
git@127.0.0.1’s password:

~ $ systemctl status sshd
● sshd.service – OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2022-08-18 16:09:08 MSK; 16s ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 12703 (sshd)
Tasks: 1 (limit: 38392)
Memory: 1.3M
CPU: 33ms
CGroup: /system.slice/sshd.service
└─ 12703 “sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups”

авг 18 16:09:08 fedora systemd[1]: Starting sshd.service – OpenSSH server daemon…
авг 18 16:09:08 fedora sshd[12703]: Server listening on 0.0.0.0 port 22.
авг 18 16:09:08 fedora sshd[12703]: Server listening on :: port 22.
авг 18 16:09:08 fedora systemd[1]: Started sshd.service – OpenSSH server daemon.
авг 18 16:09:23 fedora sshd[12730]: Connection closed by authenticating user git 127.0.0.1 port 36502 [preauth]

smol_mazunki 2022-08-18 16:10:18
why is it authing git
min 2022-08-18 16:11:39
~ $ systemctl stop sshd
~ $ sudo /sbin/sshd
~ $ ssh git@127.0.0.1
Last login: Thu Aug 18 16:08:22 2022 from 127.0.0.1
[git@fedora ~]$
min 2022-08-18 16:12:06
smol_mazunki 2022-08-18 16:10:18
why is it authing git

I’m trying to create git ssh server

smol_mazunki 2022-08-18 16:13:07
min 2022-08-18 16:12:06
I’m trying to create git ssh server

make a git user, add credentials to ~git/.ssh/authorized_keys, starts sshd, profit

min 2022-08-18 16:13:25
smol_mazunki 2022-08-18 16:13:07
make a git user, add credentials to ~git/.ssh/authorized_keys, starts sshd, profit

Already made this

min 2022-08-18 16:13:33
min 2022-08-18 16:11:39
~ $ systemctl stop sshd
~ $ sudo /sbin/sshd
~ $ ssh git@127.0.0.1
Last login: Thu Aug 18 16:08:22 2022 from 127.0.0.1
[git@fedora ~]$

See here, it works

smol_mazunki 2022-08-18 16:13:54
oh, thought you said it didn’t work through the service
smol_mazunki 2022-08-18 16:13:59
only when running sshd manually
|