Skip to main content

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
1 answer
327 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 ...
Della's user avatar
  • 505
0 votes
0 answers
2k 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 ...
mon's user avatar
  • 309
1 vote
1 answer
1k 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....
Faisal Manzer's user avatar
5 votes
1 answer
12k views

problem with openssh-server on ubuntu 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 ...
ASeaton's user avatar
  • 85
1 vote
3 answers
7k 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 ...
Bathinda Helper's user avatar
0 votes
1 answer
376 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 ...
wuliang142857's user avatar
0 votes
1 answer
2k 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 ...
TC0072's user avatar
  • 101
-1 votes
1 answer
4k 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 ...
bishnu's user avatar
  • 1
1 vote
0 answers
879 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 ...
arnoldbird's user avatar
0 votes
0 answers
575 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, ...
Henry Hall's user avatar
0 votes
1 answer
994 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 [email protected]....
Henry Hall's user avatar
1 vote
1 answer
18k 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 ...
Mextro's user avatar
  • 51
0 votes
2 answers
4k 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 ...
DeepPurple's user avatar
1 vote
0 answers
48 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/...
萬庭旭's user avatar
0 votes
0 answers
110 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 ...
Jürgen Gmach's user avatar
1 vote
1 answer
939 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 ...
DragonflyRobotics's user avatar
2 votes
1 answer
5k 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 ...
sameer .yalvigi's user avatar
1 vote
0 answers
3k 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 ...
Ciasto piekarz's user avatar
0 votes
1 answer
1k 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 ...
kick's user avatar
  • 11
0 votes
1 answer
568 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 ...
Olikhvar's user avatar
1 vote
0 answers
2k 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 ...
anup reddy's user avatar
0 votes
0 answers
585 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, ...
Amael's user avatar
  • 1
1 vote
0 answers
4k 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: ...
Matthew Knill's user avatar
0 votes
0 answers
36 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 ...
Goldphnx's user avatar
1 vote
2 answers
1k 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 ...
user1709076's user avatar
3 votes
1 answer
1k 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?...
Gajraj Singh Chouhan's user avatar
3 votes
2 answers
13k 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. ...
nd23's user avatar
  • 109
0 votes
1 answer
508 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 ...
Stefan Berger's user avatar
5 votes
3 answers
11k 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 ...
Orest Xherija's user avatar
0 votes
1 answer
396 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
Joe Cola's user avatar
  • 353
0 votes
0 answers
549 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 "...
Nicolás's user avatar
2 votes
1 answer
2k 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.. ...
Buno's user avatar
  • 183
1 vote
1 answer
24k 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 ...
Themelis's user avatar
  • 159
1 vote
1 answer
2k 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 [email protected] OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar ...
Saki Osive's user avatar
1 vote
1 answer
1k 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 ...
WinEunuuchs2Unix's user avatar
0 votes
0 answers
5k 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 ...
Varun Hegde's user avatar
0 votes
2 answers
2k 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 ...
DatLemonDoe's user avatar
2 votes
1 answer
2k 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 ...
sirgatsen's user avatar
2 votes
0 answers
154 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 ...
A_01's user avatar
  • 121
0 votes
0 answers
713 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 ...
Nobilis's user avatar
  • 211
1 vote
0 answers
857 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? ...
NealWalters's user avatar
0 votes
1 answer
5k 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,...
NealWalters's user avatar
0 votes
0 answers
470 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 ...
kietheros's user avatar
  • 101
2 votes
1 answer
10k views

Failed to start OpenBSD Secure Shell server

I wanted to use ssh in order to connect with localhost but it was impossible. When I wrote ssh [email protected] -p 22 it display ssh: connect to host 127.0.0.1 port 22: Connection refused I ...
Kowal8856's user avatar
0 votes
1 answer
5k views

Why in SSH appears the -T parameter in the Ubuntu documentation but not in the terminal/console?

Having the following OS: Linux Ubuntu (18.04 LTS) when I execute the ssh command I got the following: > ssh usage: ssh [some characters shown] [-B bind_interface] [-b bind_address] [-...
Manuel Jordan's user avatar
1 vote
0 answers
134 views

Ubuntu - Moduli file upgrade story

SSH uses /etc/ssh/moduli file for DH exchange key alogithm. Only root has write permissions to modify the /etc/ssh/moduli file. Assume that we modify the /etc/ssh/moduli file for some reason (Ex - ...
ABCDEFG's user avatar
  • 11
1 vote
2 answers
1k views

Raspberry Pi 4: PermitRootLogin is set to "yes", but can't login with root

I just installed Ubuntu for Raspberry 19.10 on my Raspberry Pi 4. I set PermitRootLogin to yes, but I can't login directly with root. Any ideas?
SoCkEt7's user avatar
  • 113
1 vote
1 answer
945 views

SSH - Permission denied (publickey) with Password Authentication

I'm not able to log into my remote machine and get the Permission denied (publickey). even through I manually specify the options to use password authentication ssh -o PubkeyAuthentication=no -o ...
user14492's user avatar
  • 111
1 vote
3 answers
5k views

Ubuntu Server 18.04 and OpenSSH 8.2 - when?

I need support for Yubikey's for a project. Sysops need to log on to an Ubuntu Server from remote positions using them. I see that openssh 8.2 has native support for it. Will openssh 8.2 be available ...
praabye's user avatar
  • 11
0 votes
0 answers
83 views

Cant connect to SSH server (Ubuntu) from home wifi

My SSH server set up at my workspace usually from a mobile SSH application with cellural data i can reach ssh anywhere,but when i'm home and i want to do my thing it just wont connecting. The server ...
Larry Petshow's user avatar

1 2
3
4 5
11