Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
1k views

ssh: connect to host xx.xxx.xxx.xx port 22: Connection timed out

I am using ubuntu in my old pc and laptop. Whenever I connect to my note book from pc by using ssh and sftp it works. pc to notebook >> no problem Now I am trying to make my pc like a remote ...
Codeholic's user avatar
  • 101
1 vote
2 answers
1k views

How can I allow access to SSH only at a specific time?

Based on Ubuntu 18.04, I want to allow users to access only from 9 a.m. to 5 p.m.(working time) on the SSH server. (used OpenSSH-server package) I've looked up all the materials I think will help you ...
KnightChaser'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
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
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
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 ...
Vinoth Rc's user avatar
  • 329
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 ...
SHM's user avatar
  • 111
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,...
TheAnonymousBear's user avatar
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 ...
Jose Carlos Barriga Arnez's user avatar
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 ...
Alan's user avatar
  • 797
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 ...
Michael Perreman's user avatar
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 ...
Jagriti Dixit's user avatar
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 ...
sanmantim's user avatar
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 ...
chiefmasta's user avatar
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/...
Nima's user avatar
  • 31
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 (...
FelixSFD's user avatar
  • 173
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 ...
olg32's user avatar
  • 121
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 ...
JTizzle's user avatar
2 votes
2 answers
7k views

ssh-add -l Error connecting to agent: Connection refused

I'm using Ubuntu 18 on Windows Bash When i launch Ubuntu I can ssh-add without any problem. Then I connect to a remote server ssh user@address The ForwardAgent doesn't work (git pull, for example ...
Haim's user avatar
  • 293
1 vote
1 answer
2k views

SSH without password only works one time

I want to configure SSH to use it without the need of writing the password. I am using Ubuntu 18.04 LTS on Windows 10. I need it to run Hadoop 3.1.1 (https://hadoop.apache.org/docs/r3.1.1/hadoop-...
CGG's user avatar
  • 111
1 vote
1 answer
3k views

Where does sshd default configuration come from?

After a fresh install every option of the default configuration file in /etc/ssh/sshd_config commented out. But when I run /usr/sbin/sshd -tT, there are many option actually to see. Where are those ...
tenjohn's user avatar
  • 361