Hey there, I have encountered an issue that i can access to a remote host using ssh, but i can’t send file to that deveice by using ssh, after upgrading the latest system version recently. And the remote device has not been changed recently also.
● sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-06-06 08:53:48 CST; 3h 4min ago
Main PID: 729 (sshd)
Tasks: 1 (limit: 37801)
Memory: 4.2M
CPU: 423ms
CGroup: /system.slice/sshd.service
└─ 729 "sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups"
Jun 06 09:48:13 yougaopeng-Manjaro sshd[20260]: pam_systemd_home(sshd:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jun 06 09:48:13 yougaopeng-Manjaro sshd[20260]: Accepted publickey for yougaopeng from 192.168.2.184 port 36724 ssh2: RSA SHA256:WxkFQ0IzSb7VKokTDIBGIQFagYHvyznCwSEvlXBKlu8
Jun 06 09:48:13 yougaopeng-Manjaro sshd[20260]: pam_unix(sshd:session): session opened for user yougaopeng(uid=1000) by (uid=0)
Jun 06 09:48:13 yougaopeng-Manjaro sshd[20260]: pam_env(sshd:session): deprecated reading of user environment enabled
Jun 06 09:48:13 yougaopeng-Manjaro sshd[20260]: pam_unix(sshd:session): session closed for user yougaopeng
Jun 06 09:48:30 yougaopeng-Manjaro sshd[20293]: pam_systemd_home(sshd:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jun 06 09:48:30 yougaopeng-Manjaro sshd[20293]: Accepted publickey for yougaopeng from 192.168.2.184 port 36726 ssh2: RSA SHA256:WxkFQ0IzSb7VKokTDIBGIQFagYHvyznCwSEvlXBKlu8
Jun 06 09:48:30 yougaopeng-Manjaro sshd[20293]: pam_unix(sshd:session): session opened for user yougaopeng(uid=1000) by (uid=0)
Jun 06 09:48:30 yougaopeng-Manjaro sshd[20293]: pam_env(sshd:session): deprecated reading of user environment enabled
Jun 06 09:48:30 yougaopeng-Manjaro sshd[20293]: pam_unix(sshd:session): session closed for user yougaopeng
sorry for the ambiguity, I’m trying to copy files from my manjaro(yougaopeng) system to another linux device(root).
I am allowed to ssh to the device as root:
ssh root@cable
Last login: Thu Mar 25 03:27:57 2021 from 192.168.254.254
root@ilife:/var/volatile/tmp#
but i can use scp cmd if i roll back to older version using timeshift, without changing any setting in my target device.
so im curious whether there are some settings about ’scp‘ have been changed automaticly.
There recently was an update to openSSH depricating some older algorythms that are no longer secure enough. It seems that your servers OpenSSH version is still using one of these old versions.
Yeah, this too. So for any old unupdatable hardware you have to use additional options like PubkeyAcceptedAlgorithms +ssh-rsa, etc. But his ssh works, so this shouldn’t be an issue, I think.