#10599 authorized_keys not updated in fedorapeople.org
Closed: Fixed 2 years ago by zlopez. Opened 2 years ago by peartown.

Describe what you would like us to do:


It seems that authorized_keys in .ssh directory on fedorapeople.org is not up to date with my Fedora Account's ssh keys. Can you please look into this?

When do you need this to be done by? (YYYY/MM/DD)


Not sure, likely not so urgent.


I am not sure if it is related, but when I try to scp from local host to the fedorapeople.org I got this eror:

[user@fedora fedoraproject]$ scp -v -i /home/user/.ssh/rsa_xxxx asciidoc.nanorc peartown@fedorapeople.org:home/fedora/peartown/public_html/
Executing: program /usr/bin/ssh host fedorapeople.org, user peartown, command scp -v -t home/fedora/peartown/public_html/
OpenSSH_8.7p1, OpenSSL 1.1.1l FIPS 24 Aug 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Connecting to fedorapeople.org [152.19.134.199] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/rsa_xxxx type 0
debug1: identity file /home/user/.ssh/rsa_xxxx-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.7
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: compat_banner: match: OpenSSH_7.4 pat OpenSSH_7.4* compat 0x04000006
debug1: Authenticating to fedorapeople.org:22 as 'peartown'
debug1: load_hostkeys: fopen /home/user/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ssh-ed25519-cert-v01@openssh.com
debug1: kex: server->client cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: curve25519-sha256@libssh.org need=32 dh_need=32
debug1: kex: curve25519-sha256@libssh.org need=32 dh_need=32
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host certificate: ssh-ed25519-cert-v01@openssh.com SHA256:DTUrA3w9TcKunUSLEPoFK4uAqrdHKdIv7QoiPQjF1b4, serial 1632989533 ID "people02.fedoraproject.org" CA ssh-rsa SHA256:IPuhCSNXqj4m2eq6UKYE1jHFglLgLCbBzINft+OxUMA valid from 2021-09-30T09:12:13 to 2022-09-29T10:12:13
debug1: load_hostkeys: fopen /home/user/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: No matching CA found. Retry with plain key
debug1: Host 'fedorapeople.org' is known and matches the ED25519 host key.
debug1: Found key in /home/user/.ssh/known_hosts:3
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: /home/user/.ssh/rsa_xxxx RSA SHA256:gnCwtrSUUOmjopmSQriiYH5iEa9ozL9DxAcfQxNAGLI explicit agent
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/user/.ssh/rsa_xxxx RSA SHA256:gnCwtrSUUOmjopmSQriiYH5iEa9ozL9DxAcfQxNAGLI explicit agent
debug1: Server accepts key: /home/user/.ssh/rsa_xxxx RSA SHA256:gnCwtrSUUOmjopmSQriiYH5iEa9ozL9DxAcfQxNAGLI explicit agent
Authenticated to fedorapeople.org ([152.19.134.199]:22) using "publickey".
debug1: pkcs11_del_provider: called, provider_id = (null)
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: filesystem full
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: client_input_hostkeys: searching /home/user/.ssh/known_hosts for fedorapeople.org / (none)
debug1: client_input_hostkeys: searching /home/user/.ssh/known_hosts2 for fedorapeople.org / (none)
debug1: client_input_hostkeys: hostkeys file /home/user/.ssh/known_hosts2 does not exist
debug1: client_input_hostkeys: no new or deprecated keys from server
debug1: Sending environment.
debug1: channel 0: setting env XMODIFIERS = "@im=ibus"
debug1: channel 0: setting env LANG = "cs_CZ.UTF-8"
debug1: Sending command: scp -v -t home/fedora/peartown/public_html/
debug1: fd 3 clearing O_NONBLOCK
Sending file modes: C0777 1001 asciidoc.nanorc
Sink: C0777 1001 asciidoc.nanorc
scp: home/fedora/peartown/public_html/: No such file or directory
[user@fedora fedoraproject]$ debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 2972, received 3500 bytes, in 0.8 seconds
Bytes per second: sent 3518.2, received 4143.3
debug1: Exit status 1

not sure about the first issue, but for the second one, try using either:
peartown@fedorapeople.org:/home/fedora/peartown/public_html/ (notice the first slash) or
peartown@fedorapeople.org:~/public_html/ or even
peartown@fedorapeople.org:public_html/

All right, not surprisingly, the error was again between a chair and a
keyboard. ;-)
Many thanks.

Dne so 19. 3. 2022 0:18 u=C5=BEivatel Francois Andrieu pagure@pagure.io n=
apsal:

darknao added a new comment to an issue you are following:
not sure about the first issue, but for the second one, try using either: `peartown@fedorapeople.org:/home/fedora/peartown/public_html/` (notice the first slash) or `peartown@fedorapeople.org:~/public_html/` or even `peartown@fedorapeople.org:public_html/`

To reply, visit the link below or just reply to this email
https://pagure.io/fedora-infrastructure/issue/10599

Metadata Update from @zlopez:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata