SSH only after login?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I've freshly setup a rather standard current Arch Linux and encounter a problem that I can not get a grip on:
- DHCP service is enabled and network is online (ping succeeds with hostname and IP address)
- OpenSSH service is enabled
- OpenSSH config allows public key and password
But I can not connect via SSH unless I also log in locally. Once I logged in locally once, I can logout in and out via SSH without problems, even when the local session is exited.
Journal says that SSH server starts up well before the local login.
Edit: Error message from Putty is "Connection refused"
ssh arch-linux systemd openssh
add a comment |Â
up vote
1
down vote
favorite
I've freshly setup a rather standard current Arch Linux and encounter a problem that I can not get a grip on:
- DHCP service is enabled and network is online (ping succeeds with hostname and IP address)
- OpenSSH service is enabled
- OpenSSH config allows public key and password
But I can not connect via SSH unless I also log in locally. Once I logged in locally once, I can logout in and out via SSH without problems, even when the local session is exited.
Journal says that SSH server starts up well before the local login.
Edit: Error message from Putty is "Connection refused"
ssh arch-linux systemd openssh
Please expand on what you mean by "can not connect". Does it refuse the TCP connection? Does it accept the connection but deny your key and/or password? Adding to your question the output ofssh -vvv user@host
and the contents of the SSH daemon's log when attempting a connection would be helpful.
â DopeGhoti
18 mins ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've freshly setup a rather standard current Arch Linux and encounter a problem that I can not get a grip on:
- DHCP service is enabled and network is online (ping succeeds with hostname and IP address)
- OpenSSH service is enabled
- OpenSSH config allows public key and password
But I can not connect via SSH unless I also log in locally. Once I logged in locally once, I can logout in and out via SSH without problems, even when the local session is exited.
Journal says that SSH server starts up well before the local login.
Edit: Error message from Putty is "Connection refused"
ssh arch-linux systemd openssh
I've freshly setup a rather standard current Arch Linux and encounter a problem that I can not get a grip on:
- DHCP service is enabled and network is online (ping succeeds with hostname and IP address)
- OpenSSH service is enabled
- OpenSSH config allows public key and password
But I can not connect via SSH unless I also log in locally. Once I logged in locally once, I can logout in and out via SSH without problems, even when the local session is exited.
Journal says that SSH server starts up well before the local login.
Edit: Error message from Putty is "Connection refused"
ssh arch-linux systemd openssh
ssh arch-linux systemd openssh
edited 6 mins ago
asked 20 mins ago
Arne
1313
1313
Please expand on what you mean by "can not connect". Does it refuse the TCP connection? Does it accept the connection but deny your key and/or password? Adding to your question the output ofssh -vvv user@host
and the contents of the SSH daemon's log when attempting a connection would be helpful.
â DopeGhoti
18 mins ago
add a comment |Â
Please expand on what you mean by "can not connect". Does it refuse the TCP connection? Does it accept the connection but deny your key and/or password? Adding to your question the output ofssh -vvv user@host
and the contents of the SSH daemon's log when attempting a connection would be helpful.
â DopeGhoti
18 mins ago
Please expand on what you mean by "can not connect". Does it refuse the TCP connection? Does it accept the connection but deny your key and/or password? Adding to your question the output of
ssh -vvv user@host
and the contents of the SSH daemon's log when attempting a connection would be helpful.â DopeGhoti
18 mins ago
Please expand on what you mean by "can not connect". Does it refuse the TCP connection? Does it accept the connection but deny your key and/or password? Adding to your question the output of
ssh -vvv user@host
and the contents of the SSH daemon's log when attempting a connection would be helpful.â DopeGhoti
18 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You need to install and enable haveged to generate sufficient entropy for the cryptographic exchange of keys. Possibly related to this bug report.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You need to install and enable haveged to generate sufficient entropy for the cryptographic exchange of keys. Possibly related to this bug report.
add a comment |Â
up vote
0
down vote
You need to install and enable haveged to generate sufficient entropy for the cryptographic exchange of keys. Possibly related to this bug report.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You need to install and enable haveged to generate sufficient entropy for the cryptographic exchange of keys. Possibly related to this bug report.
You need to install and enable haveged to generate sufficient entropy for the cryptographic exchange of keys. Possibly related to this bug report.
answered 17 mins ago
jasonwryan
48.3k14133182
48.3k14133182
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480658%2fssh-only-after-login%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Please expand on what you mean by "can not connect". Does it refuse the TCP connection? Does it accept the connection but deny your key and/or password? Adding to your question the output of
ssh -vvv user@host
and the contents of the SSH daemon's log when attempting a connection would be helpful.â DopeGhoti
18 mins ago