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.
530
questions
2
votes
1
answer
6k
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 ...
1
vote
1
answer
692
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
1
answer
6k
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&...
2
votes
1
answer
1k
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:...
6
votes
1
answer
7k
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 ...
14
votes
4
answers
48k
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
0
answers
294
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
0
answers
393
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 ...
1
vote
1
answer
2k
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
1
answer
459
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
0
answers
45
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.
1
vote
0
answers
963
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
0
answers
579
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
1
answer
2k
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 [email protected]
OpenSSH_7.9p1 ...
1
vote
2
answers
2k
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 ...
1
vote
1
answer
1k
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?
19
votes
1
answer
125k
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
1
answer
254
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?
0
votes
1
answer
123
views
SSH'ing into ubuntu desktop that uses a VPN
I am trying to SSH into a ubuntu desktop that is constantly running a vpn service - think nordvpn. Because the vpn 'changes' my IP address, this seems difficult to me. I am a complete beginner in this ...
0
votes
0
answers
353
views
Password always required even if in sshd_config PasswordAuthentication no
I have 5 VPS Ubuntu 18.04 LTS.
The SSH configuration is the same for everyone.
No root access
User2 with "sudo" permissions
No password request
Access via SSH Key RSA
From my PC (Xubuntu ...
0
votes
0
answers
1k
views
SSH server only allows one client session connect via it's public IP address
Alright, here's a weird one that's stumped me for the past couple hours:
My server is running Ubuntu 18.04, ufw is disabled, and I just reinstalled openssh-server. Maybe it's worth noting that it's ...
0
votes
0
answers
3k
views
OpenSSH sshd Privilege Separation Directory
OpenSSH 7.6p1: Why did Ubuntu change the default location of the sshd privilege separation directory from /var/empty (i.e. look at the man pages for sshd on the openssh.com web-site) to /run/sshd? ...
0
votes
1
answer
60
views
OpenSSH Ubuntu Team
I am dealing with a multi-process sshd problem regarding the privilege separation directory. I have been in contact with the OpenSSH team and I have reviewed their source code, specifically: OpenSSH 7....
0
votes
0
answers
4k
views
SSH version shows older one after upgrading
I've upgraded OpenSSH version in my Ubuntu 18.04 server to 7.9 to fix User enumeration vulnerability.
When I enter the following command, the output is:
ssh -V
OpenSSH_7.9p1, OpenSSL 1.0.2n 7 Dec ...
1
vote
0
answers
214
views
Cannot complete setup of openssh-server [duplicate]
When I install openssh-server with apt-get install on my ubuntu 18.04.2 LTS server an error occures when kpgk processes the package. The server is a cloud machine with 1 VCPU, 2 GB RAM, 20 GB Disk (4 ...
1
vote
1
answer
204
views
command to use on windows openssh to download file from Ubuntu server
I am using OPENSSH Client ("terminal") on windows, and I would like to download a file from an Ubuntu server TO my windows file system; is there a command to use?
0
votes
2
answers
4k
views
SFTP Default Folder & Limiting Access With chroot
I want to default a given user to a specific folder when they SFTP to my Ubuntu 18.04 machine. I also wanted to lock down SFTP a bit. This Digital Ocean post gave me what I needed, and helped me get a ...
2
votes
3
answers
3k
views
Why doesn't the authorized_keys file stop SSH from promting me with "The authenticity of the host <host> can't be established"?
I have created 2 key pairs using ssh-keygen, one on the server and one on the client.
I then added the server's public key to the client's $HOME/.ssh/authorized_keys file, and vice-versa.
When I try ...
0
votes
1
answer
1k
views
Unable to ssh to raspberry pi with ubuntu from chrome book
I have an Acer Chromebook 14 CB3-431 running ubuntu 16.04 through the crouton method.
I have a raspberry pi that I can ssh from literally any other Ubuntu computer, and even the Crosh shell from the ...
1
vote
0
answers
2k
views
How to uninstall built in OpenSSH (7.2)?
I would like to ask for your assistance. I have compiled OpenSSH 7.9:
sshd -V shows:
OpenSSH_7.9p1, OpenSSL 1.1.1b 26 Feb 2019
BUT still the built-in one is in service, and I don't know how to get ...
0
votes
1
answer
1k
views
SSH operation timed out / cannot login with SSH until local logon has been completed Ubuntu 18.04
Having an issue using SSH, I attempt to log in to my server using SSH and have no issues if an account is locally logged in. However if an account is not logged into locally I get an error that says "...
0
votes
0
answers
460
views
powerline doesn't work in ssh server on ubuntu
I am using these command to open my ubuntu(18.10) server
sudo apt install openssh-server
sudo apt install net-tools
sshd
ifconfig
and then I use the terminal on other device(termux on my android ...
2
votes
1
answer
18k
views
How to use scp to transfer files between ubuntu and windows10?
I'm using the command scp -P${myport} ${username}@${ip} to tranfer the files, but I don't know how to write the filepath in windows.
For example, if the filepath in windows isC:/Download, how to write ...
0
votes
1
answer
2k
views
SFTP Openssh configuration
I'm using Ubuntu 18.04 and today I installed sftp server using openssh for my server.
I followed the instructions on the internet, everything is good, they said I have to add this codes to sshd_config ...
0
votes
1
answer
1k
views
Passwordless SSH [duplicate]
Can we set up Passwordless SSH in Ubuntu (18.04) without root privileges? Is there any way to access files in /etc directory without root permissions? (I need to be able to set up Passwordless SSH ...
0
votes
4
answers
8k
views
Issues installing smbclient and openssh-server on 18.04.2
Complete Linux newb trying to get Ubuntu going so that I can learn. I'm getting the following errors when I try to install the SMB client and Open SSh server on a fresh install of 18.04.2. Can ...
0
votes
0
answers
1k
views
ssh freezes when trying to connect to my server?
I'm trying to connect to my remote server.
First I generated the ssh keys public and private from the cpanel, then I downloaded the private key to the /home/anass/.ssh folder.
and then from the ...
1
vote
1
answer
3k
views
Docker Ubuntu Openssh server - I figured out how to make it not exit, but I don't understand what is going on
I made a Dockerfile with installs for ssh-server, and was initially having problems with it exiting immediately after the command to start the service. I found a workaround, but I don't understand ...
1
vote
1
answer
6k
views
Ubuntu-budgie 18.04 agent refused operation when trying to ssh with public key
When I try to ssh using rsa key pair, I get the following error:
debug1: Next authentication method: publickey
debug1: Offering public key: RSA SHA256:2zjgjRVRDdbdfmjqip0o7M5vGXRmdH1vIvT88rrF3yE /home/...
4
votes
1
answer
3k
views
OpenSSH server: Other version running than installed
I have an Ubuntu 18.04 server. I installed openssh-server and openssh-client. According to apt, the installed version of both packages is 7.6p1-4ubuntu0.1, but the running version of the ssh-server (...
1
vote
2
answers
9k
views
Problems accessing a Cisco Router from Ubuntu 18.04 via SSH
I have an Ubuntu virtual machine (server) connected to a Cisco router where I'm trying to establish a SSH session to this device. They are connected back-to-back so there are no additional network ...
0
votes
1
answer
1k
views
How to recover deleted .ssh/known_host entry?
I created a droplet (basically a server) to host a website on DigitalOcean. I connected to it using openssh on my computer, and it was working fine. Then I decided to delete the 3rd out of 3 entries ...
0
votes
1
answer
2k
views
openssh-server's unmet dependencies [closed]
I just installed debian-9.6.0-amd64-netinst.iso and now trying to follow SSH - Debian Wiki (Installation of the server) and running into following error:
Please advise.
I ran apt-get update &&...
0
votes
1
answer
1k
views
Install OpenSSh from source on ubuntu 16.04 [duplicate]
i want to install openssh from source on Ubuntu.
i downloaded the source
./configure
make
sudo make install
but with this last command, i get the following error:
(cd openbsd-compat && make)...
20
votes
2
answers
27k
views
How do I setup SSH key based authentication for GitHub by using ~/.ssh/config file?
I am trying to set up my SSH keys for GitHub and created a new SSH key for the same. I have managed to setup the SSH key but I wish to retain these settings and save them in the configuration file ~/....
0
votes
1
answer
588
views
how to install openssh 1:6.6p1-2ubuntu2.10
I have downloaded the openssh_6.6p1-2ubuntu2.10.debian.tar.gz from https://launchpad.net/ubuntu/+source/openssh/1:6.6p1-2ubuntu2.10,
Need help in installing it on the server.
0
votes
1
answer
590
views
Ubuntu 14.04.5 LTS (Trusty Tahr) -- SSH
I am trying to start the ssh service on an install of Trusty Tahr.
sudo service start ssh
start: unrecognized service
sudo systemctl start ssh
sudo: systemctl: command not found
Is the ...
1
vote
1
answer
6k
views
SSH keeps getting stuck during connection
I have a little problem. My ssh keeps hanging, I cant connect to anything. This is the output I get with ssh -T [email protected]
root@luk164:~# ssh -vvv -T [email protected]
OpenSSH_7.9p1 Debian-1, ...
1
vote
0
answers
48
views
Ubuntu client cannot connect to ubuntu server since update but windows client can
I'm the administrator of 3 small ubuntu servers used in our scientific group and I have ubuntu 18.04 on my personal laptop.
For the past two weeks I've been unable to access the servers remotely (I'm ...
0
votes
0
answers
390
views
Can ssh local but cannot from other computeres
My desktop is a Linux (Ubuntu) machine with ssh server configured. It used to work fine before I moved the desktop to a new network. Now I can ssh into the machine from itself (either by ssh localhost ...