Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
27 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
0answers
26 views

Accidentally removed OpenSSH host key using `apt purge`

I accidentally removed my server's host key using apt purge openssh-client. I was trying to regenerate /etc/ssh/sshd_config, but didn't realize a purge would remove all keys... Do you have any advice ...
0
votes
1answer
17 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
0answers
30 views

how to achieve fast x11 forwarding on Ubuntu 18.04 now that weak ciphers like arcfour and blowfish are not supported?

with earlier versions of ubuntu I was able to get ssh -X to work to satisfaction, without lagging by using the ssh -X -C -c blowfish-cbc,arcfour command using the blowfish-cbc,arfour ciphers. But ...
0
votes
0answers
11 views

openssh - execute cross-compiled binary on remote PC

I'm cross-compiling a C++ application and have written a one-liner that copies the file to the target PC after compilation. Now I would like to execute the binary using the remote PC resources. The ...
0
votes
1answer
48 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)...
1
vote
2answers
62 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
0answers
50 views

How to change sshd port on 18.04 Server?

I thought it would be easy, but that does not seems to be the case. I'd like to change the port that SSHD (SSH daemon) is listening on. So I simply changed the entry in /etc/ssh/sshd_config that ...
0
votes
1answer
22 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
1answer
47 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 ...
0
votes
1answer
75 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 git@github.com root@luk164:~# ssh -vvv -T git@github.com OpenSSH_7.9p1 Debian-1, ...
1
vote
0answers
14 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
0answers
28 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 ...
1
vote
1answer
44 views

Access denied when trying to access server with PuTTY “invalid user” “failed password”

I installed open-ssh. Trying to access the server with PuTTY gives me access denied. Logs of the server show Invalid user and failed password. PermitRootLogin is already changed to yes. Which ...
2
votes
1answer
318 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 ...
1
vote
0answers
31 views

How can I have internet access through ssh

I have a HP Pavillion 15 with Ubuntu 18.04, openssh-server installed and running and I also have an Aspire S3 with Ubuntu 18.04 openssh-client installed. I can access the HP through ssh on my Acer ...
1
vote
1answer
230 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-...
0
votes
0answers
38 views

Aiming to transfer a very large amount of data from an Ubuntu 18.04 PC to a WIN10 PC. What should I be using?

I need to transfer a reasonably large amount of data from an Ubuntu 18.04 to a Windows. I have checked the other Q/As ([1],[2]) on this site but what I have gathered is inconclusive. People suggest ...
0
votes
0answers
37 views

How to view permission denied (publickey) logs

is there a way to view these logs? I've tried viewing it on grep sshd.*Failed /var/log/auth.log but I guess I'm doing something wrong kinda new in this
2
votes
1answer
470 views

SSH timeout on nearly-fresh Ubuntu 18.04 installation

Yesterday i made a new installation of Ubuntu 18.04. Problem I'm trying to connect to my Digital Ocean vps like always with the ssh user@ip command but it gets stuck. Things i tried Tried to show ...
0
votes
1answer
794 views

Not able to change ssh port on Ubuntu 18.04.1 LTS [duplicate]

I am trying to change ssh port from 22 to 1111. I have taken following steps, but not able to. sudo nano /etc/ssh/ssh_config Removed # where it says Port 22 Changed Port 22 to Port 1111 Ctrl + W -> Y ...
0
votes
1answer
465 views

How to fix the “Connection failed with error: Failed sending banner …” for ssh?

At times when the remote device is behind a VPN or is in local network, this error shows up: Connection failed with error: "Failed sending banner to ....@..........:22" This shows up infrequently ...
1
vote
0answers
32 views

Is there way to reset password if you can only login via ssh keys?

I don't know why but somehow my password no longer works. For example, I cannot do "su myself". I can still login via ssh keys. In such case, is there way to reset password?
0
votes
1answer
35 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 ...
1
vote
0answers
22 views

SSH working locally but not remotely [duplicate]

I have already opened a SSH session on my PC and it worked perfectly with my laptop when connected to the same network. But now, when I'm at a different location, I can't connect. I've already tried ...
0
votes
1answer
239 views

how to manage multiple ssh key in Ubuntu?

Can any body please tell me how to manage multiple ssh keys in Ubuntu. how to disable password authentication how to turn off server signature.
0
votes
1answer
126 views

I can' t connect to internet anymore after i tried to deploy algo

When deploying algo i get an error because the server stops to have the internet connection (but the client, same connection, doesn' t have any problem). In the virtual machine (server) rebooting ...
1
vote
1answer
44 views

Can't login to a remote server after uploading ssh key to the remote server

I tried installing ssh-key on a remote server. However I can't login into the remote server without using password My effort is described in this... How can I solve the problem?
0
votes
0answers
52 views

Host to Guest SSH issue

I want to access the guest linux configured in virtual box using ssh, but it is not permit. I can connect guest os to host os using ssh but reverse is not possible
2
votes
1answer
494 views

How to connect in ssh to a server with ipv6

I am trying to connect through ssh to my VM server, and when typing ifconfig, i only find ipv6 connections. I therefore don't know how to connect to my server... Help ? can i somehow still use this ?...
0
votes
1answer
232 views

Ubuntu 18.04 Broke my server

When I try to ssh into my ubuntu server, I have this shell input and output. sjrsimac@SethDanicaTV:~$ ssh -vvv sjrsimac@SethServer OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n 7 Dec 2017 debug1: Reading ...
0
votes
0answers
63 views

SSH connects successfully then disconnects when typing any key

When I connect from my laptop I am able to connect successfully and if I do not type anything the connection stays open. However, any keystroke results in the connection being broken with the message ...
-1
votes
1answer
272 views

Does Ubuntu 16.04.4 LTS include an SSH server by default? [duplicate]

According to this answer, SSH is disabled by default. However, looking around at tutorials, there were plenty of examples of installing an SSH server (e.g. sudo apt install openssh-server), which I ...
1
vote
1answer
713 views

KVM connection to a remote server (ubuntu 18.04)

I am trying to set up a VPS on my local network. So, I have installed an ubuntu 18.04 server (without GUI) on a computer with IP address of 192.168.0.109 and I used these commands to install KVM on ...
1
vote
3answers
108 views

Unmet dependencies error in ssh

Tried upgrading Ubuntu 11.10 to 14.04. So far everything looks alright, lampp, ftp, web, openvpn server etc are all running ok but openssh server is not starting. Tried manually start it (/usr/sbin/...
0
votes
1answer
2k views

Can't ssh with key after upgrade/new install of 18.04 server

I have Ubuntu 18.04 on both desktop and server. Trying to login as user (not root) to server with ssh fails with "Permission denied (publickey)". SSH worked before with server being 16.04, but not now ...
0
votes
0answers
5 views

gcloud VM OpenSSH with colors

Is it possible to connect to a gcloud VM with colors (TTY) using OpenSSH? I've tried using ssh -t vm and my config looks like this: HOST vm HostName xx.xxx.xx.xxx RequestTTY force User [...
0
votes
0answers
34 views

SSH timeout in a Hamachi network

My laptop(Ubuntu) is in the same Hamachi network with 2 other machines(both run Linux, one Raspbian, the other Ubuntu). They also have openssh installed and running. Both machines are shown as Online ...
1
vote
0answers
36 views

How to use 2FA with cert based SSH auth?

I used this guide to enable Google TOTP auth on Ubuntu 16.04. SSH only allows cert based auth (PasswordAuthentication no) I set ChallengeResponseAuthentication yes and restarted the SSH service. I ...
3
votes
1answer
343 views

Using parallel-ssh with public key

I have configured the remote ssh server for login via public-private key pair (only). I can login into the server and run commands using ssh: ssh me@my.server.home -i ~/.ssh/my_key echo fu I'd like ...
1
vote
1answer
73 views

Enabling SSH on boot via config files

How can I configure ssh service to run on boot other than via shell? Is it through /etc/init/ssh.conf ? If that's the case, what parametters should I look for in it? The reason I can't do this ...
1
vote
0answers
97 views

Running SSH through system suspension

I would like to have my system suspend automatically when I'm not using it. However, I would still like to be able to remote into my machine any time I need. I keep OpenSSH-server and my Desktop ...
0
votes
0answers
103 views

OpenSSH SFTP Server/Integromat Timed out waiting for a handshake

I'm trying to use Integromat and SFTP to sync my Google Drive to a folder on my desktop. I'm open to other methods of accomplishing this goal, but I wanted to do a SFTP server as a learning experience....
1
vote
1answer
61 views

How to download the source code of an Ubuntu package on a non Ubuntu machine?

I need to tweak the code of OpenSSH-Server version 1.5.9 installed from the Ubuntu 12.04.05 (precise) main repository. How do I download the source code of that package from the repos of that Ubuntu ...
0
votes
2answers
647 views

ssh id_rsa.pub not accessible

I have a problem when i try to use a key with ssh: ssh -i /ssh/id_rsa.pub root@xxx.xxx.xxx.xxx Warning: Identity file /ssh/id_rsa.pub not accessible: No such file or directory.
1
vote
1answer
1k views

Ubuntu 16.04 Server Permission denied(publickey,password). via ssh connection

Can I not connect ssh connection my server ,i searched all question and tried, but not working. I re-establish the openssh-server, change sshd_config file and change my root password. ...
1
vote
1answer
384 views

Errors installing openssh-server on ubuntu 16.04 [duplicate]

I am not sure if the error I get is related to my apt-get setup if I do the following: sudo apt-get update ... sudo apt-get install openssh-server Reading package lists... Done Building dependency ...
3
votes
2answers
2k views

Key based SSH login that requires both key AND password

First of all Thanks to make and maintain ASK UBUNTU, I really get lots of help from here. My problem is : I developed successfully RSA Key based ssh login on board from system. when client login ...
0
votes
0answers
40 views

How to export putty keys for use with openssh? [duplicate]

Forgive me if this has been asked already, I'm brand new to Ubuntu and my searches have not been fruitful. My parents own a server that I am trying to access. I have one set of log-in info to get to ...
0
votes
0answers
34 views

4k RSA & Dolphin

ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa_sam_4k \ # Create a very strong (4k type RSA) private and public key for client I recently started using 4k RSA key and ran into a problem with Dolphin. ...