Questions tagged [ssh]

SSH, or "Secure Shell", is a networking protocol or client using SSH for securely connecting to a remote computer. This tag is for questions involving using SSH and troubleshooting SSH connection problems as well as setting up and configuring SSH for applications which use the SSH protocol. This tag should be used with other tags to better identify the environment of the problem. Questions should contain any logs from client and/or remote (see "ssh -vvv").

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

SSH connection not working

I created an EC2 instance (ubuntu 20.04), after successfully creating this instance I SSH into it and ran some commands which were basically to install some open source tools as sudo user, but once I ...
user avatar
0 votes
0 answers
13 views

SFTP does not list correct directory or permissions

I am running Ubuntu 18.04.2 LTS and wish to host a sftp server where the user only has access to their home directory. I have added this to sshd_config and restarted ssh: Match group sftp ...
user avatar
  • 123
0 votes
0 answers
22 views

How to git clone into a folder?

I have set up ssh keys correctly for the ubuntu user, as I can git clone if I use sudo to chmod 777 a directory. Obviously 777 is not a good idea, it was just to see where the issue lies. So, in my /...
user avatar
  • 276
0 votes
0 answers
21 views

PuTTY Syntax for copying linux disk to Windows drive directory

I am trying to get PuTTy to copy a linode disk to an .img file on a windows pc. I am logging into the linode server as administrator and it shows up as 'root' in the PuTTy window. I ran this command: (...
user avatar
0 votes
0 answers
19 views

SSH via private key works, but not SFTP via FileZilla on Ubuntu 22.04

I'm facing the problem, that SSH works using a public/private key, but not SFTP via FileZilla. The key is added to FileZilla. When I do try to connect, it says: FATAL ERROR: No supported ...
user avatar
  • 111
1 vote
0 answers
20 views

ssh terminal behavior difference between 20.04 and 22.04

I use Putty (v0.77) on Windows 10 to access a bunch of remote Linux virtual servers. There's a strange difference in terminal behavior between servers running Ubuntu 20.04 Focal (or Debian Buster, for ...
user avatar
  • 13
1 vote
0 answers
12 views

Each day when the logs turn over, the system fails to find space even though there is plenty on the device; potential error with init.d script

I'm still at a loss for this specific error and any help or pushing in the right direction would be much, much appreciated. TL;DR: Many, many instances of an init.d spawned script seem to be running, ...
user avatar
1 vote
1 answer
31 views

Cannot ssh to server linux machine

I am using Ubuntu 22.04 version and I am trying to ssh to the VM Linux server (of Azure). I succeeded in doing so from another computer over port 22 and now I am trying from the ubuntu 22.04 computer. ...
user avatar
2 votes
1 answer
93 views

Using scp to copy a remote file containing spaces requires double space escaping. Why?

I was trying to copy a file from a remote machine to my machine using scp. The problem I was facing arose when the path to the remote machine contained some spaces like: scp userxxx@100.100.100.100:/...
user avatar
  • 501
0 votes
0 answers
20 views

Why is my ssh connection dropping after an uncertain time

I am using ubuntu terminal to connect to my aws ec2 instance using ssh -i myaws.pem ubuntu@1.1.1.1 It connects me to server successfully, I am able to execute few commands (alomost within a minute) ...
user avatar
  • 206
0 votes
1 answer
46 views

apt-key is deprecated plex on a raspberry pi 3b [duplicate]

Whats up guys, I'm still a huge noob and I don't understand what is going on even though there are similar problems and solutions. I have a raspberry pi that i want to use for a nas. i followed the ...
user avatar
0 votes
0 answers
17 views

Filezilla on Ubuntu will not work, except with terminal sudo

I have installed and Removed filezilla several times on Ubu 22.04, but it keeps giving errors- such as 21:43:10 Command: open "xxx@yyyy.com" 22 21:43:11 Error: FATAL ERROR: ...
user avatar
  • 93
0 votes
0 answers
18 views

Unable to SSH into VM on Azure after upgrading Ubuntu from 18.04 to 20.04

The updated VM is accessible via Azure's web-based "Serial Console" and appears to be running/partially functional. However, it is neither able to ping a remote URL nor can it be accessed ...
user avatar
  • 353
1 vote
0 answers
47 views

Can ping and resolve DNS, but no internet access

I have Ubuntu 20.04 on a VPS. Just two days ago, i was wondering why both my websites went offline (Cloudflare gives error 522). Upon SSHing into it I immediately figured out some weird issue that ...
user avatar
0 votes
0 answers
19 views

Not access to Dashboard remotely (BTFS Node)

I have a VPS - Ubuntu 20.04, located in Germany, i installed BTFS script v. 2.1.3 - BTTC on it, working without issues. I log to the server through PUTTY on my Windows machine - setting a tunnel L5003 ...
user avatar
0 votes
1 answer
39 views

How to configure sshd to automatically launch ssh-agent and add user ssh keys, without user typing password twice?

My server is currently running Ubuntu 20.04.4. I work in an environment where most users use their login password to encrypt their ssh keys. (Yes, I am aware this is not as secure as possible. This ...
user avatar
0 votes
0 answers
11 views

GNS3 Ubuntu virtual machine NGINX server does not ping devices

I have created a network topology in GNS3 and my purpose was to install my flask app on the Ubuntu Desktop Guest 20.10 and run it from there. My app should connect to the devices via ssh that I have ...
user avatar
  • 101
0 votes
0 answers
48 views

Is there a recommended way to upgrade from 20.10 to 22.04.1? [duplicate]

This is sort of a duplicate of a question from a month ago (e.g. this). In the comments of that post Hannu said: (For other readers, FWIW: 20.04 to 22.04 will be possible as they both are "LTS&...
user avatar
0 votes
0 answers
44 views

"Wrong password" error on ssh server remotely

I am running an SSH server on my local machine and I am able to perfectly login and modify files if I use something like myName@192.168.1.1 and type my password. However, when I try to login from ...
user avatar
0 votes
0 answers
22 views

How to run same script on multiples servers

I have some scripts that run some commands and send results to my email. I want to run the same script on multiple servers. How can I do that? I know there is an option "ssh". But I'm not ...
user avatar
0 votes
2 answers
103 views

Continued issue with kex_exchange_identification: Connection closed by remote host

I've recently set up an ubuntu server on an old Dell Optiplex. I can remote in via ssh when on the same network. However, when I try to ssh in from a different network using the public IP, I get the ...
user avatar
0 votes
0 answers
22 views

Proxychains error ubuntu 20.04

When i try connect to VPS I get error sudo proxychains ssh –D 127.0.0.1:8181 root@91.162.112.54 [sudo] пароль для noname: [proxychains] config file found: /etc/proxychains.conf [proxychains] ...
user avatar
0 votes
1 answer
48 views

Recent update for SSH breaks backward compatibility, how do I downgrade to the previous version?

I recently updated a Ubuntu system, and then discovered that the SSH functionality I was employing was no longer supported in the updated version. How do I revert the sshd.service to the previous ...
user avatar
0 votes
2 answers
65 views

Is SSH root login without password and without copying public key possible?

I'd like to configure sshd_config to allow remote root logins without prompting for a password, but I do not want to configure passwordless ssh by copying the remote public key. In other words, I'd ...
user avatar
-2 votes
0 answers
28 views

How to execute a script after switching user with sshpass

I know how to execute a command. sshpass -p<password> ssh <command> I am wondering if a path to script can be placed instead of a command.
user avatar
  • 1,470
0 votes
0 answers
20 views

After upgrade to Ubuntu 22.04, getting ssh Permission denied (publickey) error [duplicate]

Immediately following my upgrade to Ubuntu 22.04 from 21.10, I can no longer connect to Google Cloud Platform via ssh and am receiving the following error (e.g. after running git clone): john@doe.com@...
user avatar
0 votes
2 answers
36 views

Can't connect to docker via SSH when VPN is connected

I using Ubuntu 22.04 LTS and FortiClient VPN application. Everything works fine apart from when I'm trying to connect my docker container via SSH (localhost) I get the following error: "...
user avatar
0 votes
1 answer
26 views

SSH X11 Tunneling no longer working with ipv6 disabled

I have a Ubuntu 20.04 server where ssh X tunnelling has always worked, so that my colleagues can run programs like qgis et co using MobaXTerm on windows or just SSH -XC (the few) on Linux. The problem ...
user avatar
  • 709
0 votes
0 answers
13 views

How to deploy application from Jenkins in Linux Ec2 instance to Windows Ec2 Instance?

I have a requirement to deploy applications from Jenkins in Linux to Windows Ec2 instance. I'm able to deploy it in Linux instances using SSH and SCP but to deploy it in windows, I don't know how to ...
user avatar
1 vote
0 answers
47 views

User can't change password after key-based SSH login

I have a remote machine that is configured so that a number of users can access it over SSH using key-based authentication, which works great. Users also have the option to use an RDP client to ...
user avatar
  • 233
0 votes
0 answers
34 views

MySql Workbench permission denied accessing directory

I am trying to set Standard TCP/IP over SSH connection but got error when adding ssh key. Error opening directory '/home/user/.ssh': Permission denied How to give permission to MySql Workbench to ...
user avatar
0 votes
0 answers
22 views

Trying to set up offline Repo; fails a lot

I have about 20 Ubuntu 20.04 servers and desktops on an air-gapped network that I would like to update, as well as provide the package repo so I can install additional software. A hundred "how to&...
user avatar
  • 1
0 votes
0 answers
22 views

Need to restart Linux PC to access via SSH [duplicate]

Whenever I want to access my 'server' (quotations because it's not set up as a headless server, just used like one) via SSH, I need to restart it. Everything was working fine until around a month ago, ...
user avatar
0 votes
0 answers
283 views

Ubuntu 20.04 libGL error: failed to load driver: swrast

I know similar questions have been asked countless times, but none of the solutions worked for me so far. Let's start from the beginning. I have a workstation with an NVidia RTX A5000 running Ubuntu ...
user avatar
0 votes
0 answers
48 views

Cannot login ssh on ubuntu core 22

After installing Ubuntu core 22 on the raspberry 3 mode B+. I cannot login by ssh. I try to use similar password with my account but not successfully.
user avatar
0 votes
0 answers
25 views

Connecting devices using SSH tunnels

Currently I am trying to connect my iSH app (Linux emulator for iPhone) to my Ubuntu computer. The problem is that i don't know how: I have tried many methods, but none of them seams to work. I am ...
user avatar
  • 1
0 votes
0 answers
22 views

ssh agent forwarding doesn't forward SHA256

ssh -A IP-address works always for me, but on one server ubuntu 14.04 doesn't work as it is supposed to. I have ssh keys on my computer with SHA265 algothithm. But when I go to this server it somehow ...
user avatar
0 votes
0 answers
10 views

After updating to 2fa, password is wrong

I followed all the steps from this tutorial to create 2fa for my Ubuntu 20.0.4 https://ubuntu.com/tutorials/configure-ssh-2fa#1-overview Now when I try to connect with SSH the username / password is ...
user avatar
0 votes
0 answers
48 views

Raspberry Pi with Ubuntu Mate 20.04.1 (arm64) refusing SSH connection

I need to install ROS on a Raspberry Pi 4 Model B. According to instructions, this is better to do from an Ubuntu-mate distro following standard ARM instructions (http://wiki.ros.org/ROSberryPi/...
user avatar
0 votes
0 answers
13 views

Home directory file system hangs when opening folder through sftp

I have access to a shared server and want to use the default ubuntu "files" GUI to sftp files from the server. I am able to access the home directory, but when I open a folder, the ...
user avatar
  • 1
-7 votes
0 answers
34 views

Google Authenticator Halts Login [duplicate]

I enabled Google Auth on Ubuntu 20.04lts and I can no longer login: Here's my error. Hope someone can help :)
user avatar
1 vote
1 answer
49 views

I accidentally authenticated wrong SSH key in my ubuntu terminal. How can I fix this?

I am new to Git. I created a new SSH key in my terminal, added it in Github and then I tried testing SSH connection in my terminal using these commands: https://docs.github.com/en/authentication/...
user avatar
0 votes
0 answers
24 views

How to add a new user on ubuntu server with password authentication turned off?

I have a ubuntu server with password authentication off. Now I need to add users for other people. However, since the password authentication is disabled, they could not log in to the server. One ...
user avatar
0 votes
0 answers
99 views

ssh: connect to host <usrname>@....org port 22: Connection refused

I am trying to use ssh to connect to a server and it worked fine just yesterday. However today it failed and when I tried to test with ssh localhost, it worked. Below is the output of the failure: ...
user avatar
-3 votes
0 answers
94 views

I've enabled 2FA but I can no longer log in

My Error: Can someone help with this? I'm using Ubuntu 20.04lts and I added Google Authenticator and I now can no longer log in. This is a Contabo VPS, I used this tutorial https://www.digitalocean....
user avatar
0 votes
0 answers
34 views

Ubuntu 20.04 Freezing and Loss of Connection

I am running Ubuntu 20.04 for an attraction I manage that uses Google Chrome to pull a page from a webserver on a local network. I am having an issue where the PC will lock up and freeze completely on ...
user avatar
  • 1
0 votes
1 answer
42 views

Can you enable SSH on Ubuntu Server automatically after installing?

The Raspberry Pi OS (formerly known as Raspbian) installer has a feature where you can enable SSH in your install so it opens an SSH server on startup. I'm running some servers on old computers I have ...
user avatar
0 votes
1 answer
208 views

Putty 0.76 does not work on Ubuntu 22.04 unless with Sudo

I recently upgraded Ubuntu to 22.04, and installed PuTTY 0.76 in it. Sorry, I can't remember if I used apt install or a snap. Putty initiates OK, but when attempting a terminal session with an open, ...
user avatar
  • 93
0 votes
0 answers
23 views

How to start manually-installed OpenSSH, and run at boot

I've manually built an older version of OpenSSH with make + make install, for educational purposes. Is it possible to start it with sudo systemctl restart ssh, as when we install OpenSSH from apt-get? ...
user avatar
0 votes
1 answer
121 views

Install OpenSSH with older OpenSSL version

For educational purposes, on Ubuntu Server 18.04 I've downloaded OpenSSH_7.6p1 4-Ubuntu0.1 which should be exposed to SSH enumeration. When I run ./configure, it says there's a problem with the ...
user avatar

1
2 3 4 5
115