Score:0

openssh upgrade to 8.0 from 7.6 on ubuntu 18.04 LTS

kr flag

i want to upgrade opnessh7.6 to 8.0 on ubuntu 18.04 LTS. is this possible. I have upgraded openssh from 7.5 to 8.2.however only problem i am facing after upgrade is systemd is stoping and starting ssh service on regular basis (in every 2min) because ssh services is in activating state for forever. ssh is working fine but as per systemd it is in activating stste so it tries to restart ssh service on regluar basis.

how can i fix this.can someone help me enter image description here

kr flag
i have to upgrade openssh 7.6 to newer version. i have upgraded too.But when i run command sudo service ssh restart it does not work.even in status ssh shows activating. sudo service ssh restart show error "Job for ssh.service failed because a timeout was exceeded." and in logs systemd stop and start ssh countinously
kr flag
log outpit as below Nov 8 17:56:42 ip-172-31-4-130 systemd[1]: ssh.service: Start operation timed out. Terminating. Nov 8 17:56:42 ip-172-31-4-130 systemd[1]: ssh.service: Failed with result 'timeout'. Nov 8 17:56:42 ip-172-31-4-130 systemd[1]: Failed to start OpenBSD Secure Shell server. Nov 8 17:56:42 ip-172-31-4-130 systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
kr flag
i want to upgrade however i have upgraded. now i want to fix this problem. systemd automatically stopping and staring ssh services as per log output. ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: activating (start) since Mon 2021-11-08 18:05:45 UTC; 1min 18s ago Process: 3845 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS) Main PID: 3856 (sshd)
kr flag
please check status command output it is in activating state thats why systemd doing stop and start for ssh service. can you help me with this or you can help me with upgrade in right way
kr flag
i am new to this fourm so please bear with me. i just want to upgrade openssh to 8.0
kr flag
i can not upgrade ubuntu 18.04 to 20 for now .i need to upgrade openssh only to newer version over 7.6
kr flag
it fails but i have tried to build from source and able to upgrade to 8.2 but only from is now when i restart ssh it remain in activating state and in ssh logs systemd start and stop ssh service countinoisly. i do not know how to fix this problem
kr flag
done edited the question
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.