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
2
votes
3answers
93 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
32 views

Clusterssh with publickey

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
25 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
59 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
79 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 ...
0
votes
1answer
76 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
52 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
193 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
1answer
73 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
94 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 ...
0
votes
0answers
28 views

After installing manually ubuntu 20.04 without upgrading from 18.0.4 loosing all the data including ssh key files, i need maybe a new ssh key?

I had some issues with ubuntu 18.04 which forced me to manually remove and install the new 20.04 without upgrading from the old version. I wanted to know if I need to create a new ssh key since I ...
0
votes
0answers
66 views

SSH to Ubuntu server fails with message authentication failed

I am trying to access a host over openvpn tunnel through ssh, however it fails with message authentication failed Full SSH message available in this link: https://pastebin.com/XKJG3ZdZ debug1: ...
2
votes
0answers
46 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
76 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 ...
0
votes
0answers
46 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
190 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
19 views

How to set up SSH key based authentication for vendors

I have installed a Vendor SSH PUB key in my linux server( redhat based) under a non admin user say X. And when I tried to login from Vendor machine, using FileZilla( login using the Private key of ...
0
votes
0answers
32 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
vote
0answers
234 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 marian@127.0.0.1 -p 22 it display ssh: connect to host 127.0.0.1 port 22: Connection refused I ...
0
votes
1answer
137 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] [-...
0
votes
0answers
62 views

How to ssh into local Ubuntu device?

I am trying to access my odroid-xu4 device running on Ubuntu 18.04 Bionic Beaver, I tried to ssh the localhost and I got the following message odroid@odroid:~/Desktop$ ssh localhost odroid@...
1
vote
0answers
23 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 - ...
0
votes
1answer
205 views

RASPBERRY PI 4 :PermitRootLogin yes but can't login with root

I just installed ubuntu for raspberry 19.10 on my raspberry pi 4 i use ubuntu every days. I set PermitRootLogin to yes but can't log directly with root. Any ideas ? Thanks
0
votes
0answers
141 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 ...
1
vote
2answers
1k 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 ...
0
votes
0answers
34 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 ...
1
vote
1answer
109 views

can't log in with my password during ssh connection

my /etc/ssh/ssh_config is as follows # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can ...
0
votes
0answers
49 views

what is the command to convert a private key from DES-EDE3-CBC to AES?

How to convert an openSSH key to AES ? I have a git connection reset by peer when trying ssh -vvv my_gitlab_server It works for my colleague having a AES-128-CBC type private key when mine is DES-...
0
votes
0answers
53 views

Unable to remotely connect to a machine using SSH

I am trying to remotely access a machine at my university via ssh using my laptop running ubuntu 19.10 (however I have also tried with another laptop with ubuntu 18.04) and am unable to connect via ...
0
votes
1answer
130 views

Unable to install openssh-server on ubuntu 16.04 in Docker

I have a Docker container with a brand new install of Ubuntu 16.04, I'm unable to install openssh-server successfully. I'm able to install openssh-client successfully but when attempting apt-get ...
0
votes
1answer
450 views

SSH / SFTP Permission denied (publickey)

I've added the following to my sshd_config Match Group sftponly ChrootDirectory /srv/sftpfolder ForceCommand internal-sftp #AllowTcpForwarding no PermitTunnel no X11Forwarding no I created "user" by ...
0
votes
0answers
23 views

Having issues downloading Openssh server, broken slapd package

I'm trying to configure my ssh and I having some major issues with my ssh server. I am using Windows 10. To give some more context I have Used - sudo apt-get update sudo apt-get install openssh-...
0
votes
1answer
212 views

Unable to connect to a ssh server

Sir can't connect to assh server through my ssh user id or password. All the login procedure is done but at the end, the error message say's "Could not chdir to home directory /home/me-vpnjantit.com:...
2
votes
1answer
802 views

UFW OpenSSH application port change?

When using UFW I see there are "applications" like OpenSSH or Apache, to name a couple. If I were to change my SSH default port to something other than the 22, would the OpenSSH application rule map ...
3
votes
2answers
2k views

Is possible to upgrade openssh-server OpenSSH_7.6p1, to OpenSSH_8.0p1?

Tried to install OpenSSH_8.0p1 but installed OpenSSh Client only. sudo apt install openssl-server Reading package lists... Done Building dependency tree Reading state information... Done E: Unable ...
1
vote
0answers
111 views

mac to ubuntu terminal ssh connection?

if i want to connect my mac to ubuntu terminal which ip address should I use? my mac and ubuntu server is located in different area(different ip address) ifconfig only shows 192.168.x.x I guess this ...
1
vote
0answers
50 views

SSH connection get stucked at login after a few days of server uptime

when i try to connect to server via XShell it hangs with following message: Connecting to 192.168.1.10:22... Connection established. Other ssh clients just hang forever. A reboot solves the ...
1
vote
0answers
34 views

connect mac to ubuntu by ssh

for ssh connection ssh -i id_rsa id@ip_address in ip_address if I connect to my ubuntu from outside(not local ip) which ip_address should I put ?? i put my router ip address and sssh connection ...
0
votes
1answer
239 views

sshd ignoring PermitRootLogin directive

After setting PermitRootLogin no and restarting the sshd service, I'm still presented with a password prompt when logging in as root. This is Ubuntu MATE 16.04 running OpenSSH 7.2p2-4 (up-to-date as ...
0
votes
1answer
68 views

openssl and openssh-server on the same system

I have installed both openssl and openssh on my ubuntu bionic machine. OpenSSH by design seems to use a (slightly) older version of the openssl library whereas OpenSSL (the package) uses a different ...
0
votes
0answers
37 views

How to pin openssh from eoan in bonic

I want to pin only "openssh-server" package from eoan to my current bionic distro which has an old openssh version.
0
votes
0answers
207 views

opening jupyter notebook on remote computer using mobaxterm

I am trying to open jupyter notebook on my laptop (windows 10) by accessing my server (ubuntu 18.04) through mobaxterm (on windows). when I type jupyter notebook into the mobaxterm terminal jupyter ...
0
votes
0answers
63 views

What is opensshremotesexplorer?

I installed the Remote Development extension for VSCode but when I click on the configure button of Remote-SSH (which is part of Remote Development) I receive this error: command '...
1
vote
0answers
184 views

GSSAPI Authentication Error: “An invalid name was supplied” (FQDN, FREEIPA)

When trying to connect to a FreeIPA client via SSH using GSSAPI it produces the error: An invalid name was supplied. The name/key used is: "Host/mail@" which shows something has gone wrong server-side,...
0
votes
0answers
74 views

I uninstalled openssh-client and all my snap application have been erased

I uninstalled openssh-client and i didn't see that another apps were uninstalled too. Now all my snap app like Reemina, atom, etc (all snap app that i've installed with ubuntu software gui) were ...
0
votes
1answer
900 views

write: Connection reset by peer

When I open my PC (Ubuntu 19.04) and try to log in for the first time in my ssh server (Raspbian buster) I get write: connection reset by peer: trp@trp-pc:~$ ssh -vvv pi@192.168.2.251 OpenSSH_7.9p1 ...
1
vote
2answers
670 views

Configure SSH server to NOT ask key OR password over localhost connection

I am trying to satisfy a weird case, so bear with me please. I want to use [don't gasp] graphical Windows tools (like WinSCP, PuTTY, etc) with signed OpenSSH keys. These tools don't support signed ...
0
votes
1answer
270 views

Is the ssh service renamed in in 19.04?

SSH seems to work fine, but running sudo systemctl restart ssh gives the error Failed to restart ssh.service: Unit ssh.service not found. (and the same for sshd) Did they rename it or something?
3
votes
2answers
4k views

SSH Server cannot be found - Even though installed

I have a machine running Ubuntu 18.04 LTS where I cannot seem to get SSH Server working. I installed SSHServer using: sudo apt install openssh-server but I am getting the following when I try to ...
1
vote
1answer
57 views

Is there any problem to always enable ssh server on ubuntu?

For establishing a remote connection one must have to enable our OpenSSH server but once we disconnect our connection,is it necessary to stop the SSH service?

1
2 3 4 5
9