Questions tagged [openssh]

OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.

Filter by
Sorted by
Tagged with
-1
votes
1answer
56 views

Cannot use ssh keys anymore to connect with different services or repositories

I set a bunch of keys that I use for various reasons like connecting to my personal website or various source control management platforms like GitHub or sourcehut. I was working as usually as ...
0
votes
1answer
53 views

How to ssh into a remote computer

I have two laptops, one running Ubuntu (server) and another running Debian (client), and I want to use ssh to log in to the shh server. While on my router's network, using the private IP address of ...
0
votes
0answers
25 views

Connection timed out problem

I'm new to ubuntu .. i tried to connect pc remotely using ssh and checked firewall to allow port 22 work .. i used this command to cnnect ssh user@111.111.111.111 but got ssh: connect to host 111....
0
votes
0answers
36 views

Error message: An error occurred in the underlying SSH library that Vagrant uses

The below error message is seen while running a playbook that uses a Vagrant environment to log in to the machine. An error occurred in the underlying SSH library that Vagrant uses. The error message ...
-1
votes
1answer
18 views

How to Control the SSH Service

Ubuntu 20.04. I have installed the openssh-server to test with ssh, but since then, whenever I boot up the system, the server starts running at port 22, which I feel is a security risk when I am ...
0
votes
0answers
53 views

ssh - private key file requires \n at the end of file or cause “Load key id_rsa invalid format”

Question Has OpenSSH introduced a change that requires \n at the end of the private key file (id_rsa)? Previously I was on Ubuntu 18.04 and I believe id_rsa without \n at the end of the file was ...
0
votes
1answer
60 views

OpenSSH showing different version from installed version on remote connection

On my server on digital ocean, I upgraded OpenSSH to version 8.6p1. user@server:~# ssh -V OpenSSH_8.6p1, OpenSSL 1.1.1 11 Sep 2018 But when I check the OpenSSH version from the remote client it is 7....
3
votes
1answer
257 views

problem with openssh-server on ubunu 20.04

Something seems to have gone wrong with openssh-server on my machine. I'm on Ubuntu 20.04. I noticed this trying to install another package that depends on openssh-server. When I tried to re-install ...
1
vote
1answer
47 views

ssh server service won't start on Ubuntu 18.04 after reboot

I've a VPS with Ubuntu 18.04Lts on Google Cloud. On every reboot, I've to start the ssh daemon service either by service ssh(d) start or systemctl start ssh(d) (both ssh and sshd work the similar way ...
0
votes
1answer
37 views

ssh with identity_file failed on ubuntu 20.04

First I generate RSA key on the target host on ubuntu 20.04: ssh-keygen -t rsa Then I scp ~/.ssh/id_rsa to source host. Final I wanna to ssh from source host by id_rsa: ssh -i id_rsa root@target_host ...
0
votes
1answer
115 views

ssh still reporting old version after upgrading openssh-client and openssh-server

Security Metrics are complaining our version of ssh is out of date. If I run ssh -V I get this: OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020 But if I run dpkg -s openssh-client | grep ...
0
votes
1answer
117 views

SSH using putty : Network error connection timeout

i am using Ubuntu server 20.04 lts i have configured static IP and can ping google.com and i can also ping server from another computer vice-versa. my ssh status is active and port 22 is listening but ...
0
votes
0answers
48 views

Why do I see different versions when I run `ssh -V` compared with `sshd -V`

To update OpenSSH in Ubuntu 18 LTS to version 8, I followed these steps: https://unix.stackexchange.com/a/598842/392505 I now see the desired version when I run ssh -V OpenSSH_8.0p1, OpenSSL 1.1.1 11 ...
0
votes
0answers
27 views

sshd port forwarding listeners are stuck open

I have a recurring long term issue where a group of listening ports never seem to clear even when I restart the associated service. The service is ssh and I'm connecting via the Bitvise SSH Client (...
0
votes
0answers
46 views

Ubuntu ssh client how to specify non-standard port for connecting to ssh server on 2nd ubuntu machine

I am new to SSH. Two ubuntu machines on home network. Ubuntu 20.04 server on one, Ubuntu 16.04 on 2nd machine used as SSH client. Client succefsully logs into server with standard port 22, that is, ...
0
votes
1answer
83 views

cannot log into SSH server

Ubuntu server 20.04 installed and configured to listen to port 2222. From a windows10 machine on the same network I can ssh into the server without difficulty using: ssh -p 2222 username@192.168.1....
0
votes
1answer
2k views

*Error Permission denied (publickey)* Does Windows 10 Powershell Support OpenSSH Public Keys with Ubuntu 20.04

Yes I know this a Ubuntu forum.. First off all thanks for doing what you do and helping people! Alright so I've been trying to setup SSH keys on my Ubuntu 20.04, read stuff about it online. So I ...
0
votes
2answers
785 views

Cannot connect with SSH to my Ubuntu Server that is behind a router

I installed Ubuntu Server 20.04 on my old laptop. When it boots Ubuntu Server starts fine and I can login on it. I installed OpenSSH on it and it is active, running. I allowed port 22 on the ufw and ...
1
vote
0answers
25 views

SSH failed while connect to PC without monotor

I am trying to use my PC as online server. Everything works perfect when the monitor, keyboard and mouse is connected. I can remote ssh to my PC after boot even without login to Ubuntu with my user/...
0
votes
0answers
27 views

Access and copy files from Windows server with openssh to my Ubuntu machine

For development I use a Ubuntu machine. I need to retrieve a file which is located on a Windows machine. There is openssh installed on the Windows server. I can log into the Windows server and then I ...
1
vote
1answer
73 views

Ubuntu Server Terminating SSH Connection

I have an Ubuntu Server 20.04.1 that I want to SSH into. I am using the default ssh service on Ubuntu. I can connect with it and it works flawlessly, but after about 20 minutes, the connection ...
0
votes
1answer
780 views

Unable to update to Openssh 8.4

We received OpenSSH Information Disclosure Vulnerability CVE-2020-14145 CVE-2020-15778 on some ubuntu 18.04 Servers and the fix recommended is to upgrade to OpenSSH 8.4/8.4P1 But the current version ...
1
vote
0answers
606 views

Not able to installed ubuntu not able to install openssh-server [duplicate]

I freshly installed ubuntu , didnt expected this. and it has never happened before atleast for ubuntu 20.04.1 LTS . I did ran sudo apt update then I tried to install. $ sudo apt install openssh-server ...
0
votes
1answer
106 views

Ubuntu desktop ssh unreachable after a while

Hi I installed a new Ubuntu Desktop machine wich i am running a server from. Now i ran into the issue that after a while (12-16 hours sometimes, after i didn't use it for a bit.) that when I try to ...
0
votes
1answer
141 views

puTTy fatal error (no supported authentification method available)

I am very new to linux. recently installed ubuntu 20 and i use ubuntu for the past 1 week. i created an instance(EC2) in AWS and try to connect via puTTy from my ternminal. get a fatal error. i ...
0
votes
0answers
14 views

How to connect to ssh from ubuntu with putty generated key? [duplicate]

Used puttygen to make private.ppk for connecting in server with privatepublic.ppk In putty using private.ppk to connect works. How to connect with this key in ubuntu?
1
vote
0answers
1k views

Can we install OpenSSH 8.4 on ubuntu 16.04 or does it cause compatibility issues? CVE-2020-14145 CVE-2020-15778

We received OpenSSH Information Disclosure Vulnerability CVE-2020-14145 CVE-2020-15778 on some of our ubuntu 16.04 and ubuntu 18.04 Servers and the fix recommended is to upgrade to OpenSSH 8.4/8.4P1 ...
0
votes
0answers
349 views

ssh - connection closed without any further information

I'm currently having trouble with SSH configuration. It was working since about half a year and since this morning, it doesn't seems to work anymore. I've tried a lot of things such as allow from all, ...
0
votes
0answers
1k views

Generate RSA key in Ubuntu 20.04

Whenever I create a public/private keypair using ssh-keygen in Ubuntu 20.04, I get an OpenSSH private key file instead. Even if I manually specify that I want to use rsa using the following command: ...
0
votes
0answers
26 views

Network 3 Ubuntu machines for local data (not internet access)

I have anywhere from 3 to five machines all running ubuntu or ubuntustudio in my home office. They all have a good wifi connection but I need to access files from time to time (apart from wifi) such ...
1
vote
2answers
368 views

FIPS and openssh-client-hmac for Ubuntu 20.04?

Hi I'm trying to install openssh-client-hmac for Ubuntu 20.04. Does it not exist yet? Should I downgrade to Ubuntu 18.04 ? I need it because I'm enabling FIPS and was following the documentation here ...
0
votes
0answers
111 views

ssh_exchange_identification ERROR, with no logging on server

So I am getting the error ssh_exchange_identification: read: Connection reset by peer When trying to ssh into my WSL 2 Distribution (Ubuntu 16.04). I have made sure that all the firewalls/routing is ...
1
vote
1answer
159 views

How to disable Automatic Login for ssh key?

I had ticked the 'Automatically Unlock this key' option when I was entering the password to unlock my ssh key, so now I'll be logged in automatically, although I did not mean to. How can I revert this?...
2
votes
2answers
1k views

ssh command hangs indefinitely

I am trying to ssh into my ubuntu 18.04 remotely and my ssh command execution hangs after the password is authenticated. I have tried a lot of resolutions I found online but nothing has worked so far. ...
0
votes
1answer
82 views

Connection refused, port 2222, mac to ubuntu (remote)

I can't login from my mac to my ubuntu machine. I tried many things, but nothing works. I am using ubuntu 20.04 Here is what I tried: installed openssh-client openssh-server changed port from 22 to ...
2
votes
3answers
1k views

Restrict SSH-login with public-key only to selected users

Using OpenSSH, I have enabled ssh-login to my Ubuntu 18.04 machine, call it Remote and my user account on Remote is called Remote-User. I have also made sure that login is only possible by means of ...
0
votes
1answer
44 views

Clusterssh with publickey [closed]

how to login vps with sshpublickey with clusterssh ? if i using 2 vps with password command clusterssh username@ip username@ip so how to using publickey ? i use ubuntu 16.04 thank you
0
votes
0answers
196 views

How set ChrootDirectory on ssh_config in Ubuntu 20.04

how can I set the chroot directory for a specific user in ssh_config? I'm trying: Match User zeus ChrootDirectory /home/test Forwardx11 no But I get a syntax error for the "...
1
vote
1answer
270 views

Can login to sftp, but not to ssh shell

I was trying to setup a new sftp user for my server (Ubuntu 20.04). I created the user my-user, added a public key to his .ssh/authorized_keys file and decided to test an SSH login before anything.. ...
1
vote
1answer
4k views

SSH server listening on 0.0.0.0:22?

I have two machines in my home network and I want to connect them over SSH. The first machine has a local ip 192.168.1.23 and openssh remote client installed. The second has a local ip 192.168.1.169 ...
1
vote
1answer
925 views

Unable to SSH to a local system; error (publickey, password), SSH key regeneration

I'm running Ubuntu 20.04 desktop and unable to SSH into it, getting the error(publickey, password). Here are the logs : ssh -vvv titan@192.168.0.122 OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar ...
1
vote
1answer
151 views

Automate SSH client and server setup on every device

I don't think my needs are all that unique. I have a home network wired and wireless with multiple devices running Ubuntu 16.04.6 LTS. They will be upgraded to 20.04 soon though. My desire is to ...
0
votes
0answers
3k views

ssh_exchange_identification — read: Connection reset by peer

I was playing the "Overthewire Bandit" war game and when I try to login to level 20 I am getting the error ssh_exchange_identification: read: Connection reset by peer How can I resolve this ...
0
votes
2answers
657 views

Error when trying to SSH into server using a WSL

I need to obtain data from a server, using my WSL (Ubuntu 20.04) and to do so I run the command rsync -av -e "ssh -vvv -oPort=5822" 'address' where 'address' is of course replaced with the actual ...
2
votes
1answer
851 views

Why SSH on Ubuntu 18.04 is suddenly defaulting to the diffie-hellman-group1-sha1 key-exchange algorithm?

I have a Ubuntu 18.04 LTS server to which I normally connect via Putty from Windows 10 Pro (1903) without problems. Recently I am getting a warning from Putty that "The first key-exchange algorithm ...
2
votes
0answers
80 views

SSH not pointing to latest openssl [Ubuntu 16.04.6 LTS -Xenial Xerus]

I have updated the openssl but still the ssh is not pointing to this version of openssl. How I can make ssl and openvpn to point to this version of openssl? I tried to google but didnot find ...
0
votes
0answers
262 views

Building OpenSSH 8.2p1 on Ubuntu 18.04.4 LTS, what flags should I configure it with?

I need a newer version of OpenSSH on my home machine for remote work. What flags should I pass to ./configure to maintain the same level of configuration as my current OpenSSH (7.6p1), the one ...
1
vote
0answers
336 views

Isn't a status of active (exited) an oxymoron?

How is one supposed to interpret a status of "active (exited)" on a service such as SSH or SSHD? (This is the results of the command: sudo systemctl status sshd How can it be active if it exited? ...
0
votes
1answer
2k views

OPEN SSH not listening on Port 22

I installed Ubuntu 20.4 (and included Open SSH) as virtual machine on Virtual Box on a Windows 10 laptop. I installed Samba to allow for machine name connection. Below shows the listeners on Port 22,...
0
votes
0answers
156 views

Some unnamed processes eat 100% CPU

My vps is running Ubuntu 16.04. Recently, I have found a lot of failed ssh connections in /var/log/auth.log. I have enabled fail2ban and disabled password authentication. Now, there are some unnamed ...

1
2 3 4 5
9