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

Problem with SSH connection to TrueNAS server using password authentication - permission denied publickey

I have a problem with enabling password authentication mode for OpenSSH server service in TrueNAS SCALE version 23.10.2 based on Linux Of course I can use public-private keypairs for connecting to ...
pangratt12345's user avatar
0 votes
0 answers
23 views

SSH freezing moments after successfully connecting, then Broken Pipe

Sorry to ask about a topic that's been done to death, but I haven't found what I need yet. I've set up a lambda machine with an SSH server. I can connect to it from my laptop with ssh -l <username&...
Pavel Komarov's user avatar
3 votes
1 answer
234 views

How to delete users who are logged in

We tried to remove them by killing the processes but they are still there. This is how users appear can't access root pts/18 tmux(1804832).%13 can't access root pts/19 tmux(1804832).%...
abdoul rachid's user avatar
0 votes
0 answers
22 views

How to Login to SSH with Dynamic username

I some external Gateway through which the ssh requests come and need to log the sessionID in the linux when the connection happens. I can send the sessionID (some string) along with the username while ...
CRYSTAL's user avatar
0 votes
0 answers
36 views

Allow access to openssh server without authentication

First this is not a duplicate of any thread ive gone thru all of them and either solutions were not working for OPs or they werent working for me. I want to allow specific user to use my ssh server ...
Surepic 342's user avatar
-1 votes
0 answers
51 views

Unable to install openssh-server

I had ssh installed and was working fine but then it stopped suddenly. So I tried to reinstall using sudo apt-get install --reinstall openssh-server but it seemed that the already active systemctl was ...
user1769468's user avatar
0 votes
0 answers
93 views

port 22: Connection refused, but only 60% of the time

I am running this: ssh_command = f'ssh -vvv -o StrictHostKeyChecking=no -i {private_key_file} ubuntu@{public_ip}' # Use os.system to execute the SSH command in a subshell os.system(ssh_command) ...
BigMistake's user avatar
0 votes
1 answer
110 views

How to avoid Broken Pipe error from client side?

How do I prevent the Broken Pipe error from the client side of the ssh connection on ubuntu? Let's say that slurm is running on the server and I just made a salloc request. If the connection is broken,...
SO_32's user avatar
  • 163
1 vote
0 answers
84 views

Bug with pasting root password to connect via SSH from Ubuntu 20.04 to Alma Linux 9 remote server

Summarize the problem Im running into a strange bug, by pasting the root password into the prompt while connecting via SSH from a Ubuntu 20.04. client to a AlmaLinux 9.2. remote server. Client: Ubuntu ...
blamefreezer's user avatar
0 votes
1 answer
236 views

send_pubkey_test: no mutual signature algorithm

Here is the client log output after a ssh -vvv user@machine (I think this problem is related with the deprecation of sha-1). I have already tried to create a new key/par for ed25519, but it doesn't ...
ABu's user avatar
  • 245
2 votes
2 answers
455 views

Can't I scroll in the terminal up? Terminal shows only 24 rows? The scrollbar on the right fills the entire vertical height of the window?

Based on: Terminal output scrolling is gone (Headless 11.10 Server, Upgraded from 10.10) and https://superuser.com/questions/1331658/why-cant-i-scroll-in-the-terminal and my own dire situation right ...
michal roesler's user avatar
4 votes
1 answer
126 views

Secure remote copy with exceptions

In order to use some data that are stored and produced remotely I first download them via scp servername:/.../big_directory/* ~/. There are many files and the command includes everything. These files ...
SO_32's user avatar
  • 163
0 votes
0 answers
2k views

ssh no matching host key type found

I have 2 Ubuntu 22.04.3 LTS servers. Both are the same version. 1:chia@chia00:~$ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.3 LTS" 2:chia@hp1:~$ cat /etc/os-releasePRETTY_NAME="...
usao's user avatar
  • 1
0 votes
0 answers
2k views

Job for ssh.service failed because the control process exited with error code

I was trying to install ssh service and I did with this command: sudo apt install openssh-server and I tried to start it with this command: sudo systemctl start ssh but it gives me that error: Job for ...
قاسم باشا الأول's user avatar
0 votes
0 answers
104 views

"ssh-copy-id user@ip_address" throws error

In UBUNTU system, I'm trying to set up remote login system. It is failing in ssh-copy-id step. It throws the following error: /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to ...
nishat's user avatar
  • 1
0 votes
1 answer
247 views

what is the use of setting up OpenSSH on Ubuntu Live Server 22.04?

Setup Info I am using Hyper-V to spawn Ubuntu live 22.04 VMs. During the installation procedure it asks if I want to Install OpenSSH server, whether I select this option only results in one change. ...
Souldiv's user avatar
  • 53
0 votes
0 answers
2k views

SSH Connection Timed Out Ubuntu 20.04

I've looked through a million threads on this topic but nothing has worked. I'm trying to ssh into my linux through port 22. Connection is refused. UFW is inactive and firewall-cmd is not downloaded ...
SC542164's user avatar
0 votes
0 answers
29 views

failed to fetch libraries for openssh-server + Temporary failure resolving software sources [duplicate]

I tried many ways like tried to find here gone through http://in.archive.ubuntu.com folders.
Harshal Mistry's user avatar
1 vote
1 answer
93 views

When Connecting To Remote Box SSH Fingerprint Changed After Upgrade from 18.04 to 22.04

I have a PHP script on my local box that connects to a remote box. Nothing on the remote box changed. And when I connect via the command-line, using the ssh command in a terminal, there was no change ...
cazort's user avatar
  • 160
1 vote
1 answer
263 views

How do I make ssh ask for the password every time?

I am using Ubuntu 22.04. This is an unusual question since most users want to make the ssh agent remember the password once it is entered per user session. I would like it to ask for the password ...
Ramansh Sharma's user avatar
0 votes
1 answer
177 views

can not setup passwordless ssh using key by MANUALLY COPY public key to server

context: firstly, i got a new ubuntu 20.04 server with a password I'm using OpenSSH client on Windows 10 I want to do passwordless login, then I ssh to server using passwords, manually create ~/.ssh ...
Luke's user avatar
  • 535
0 votes
0 answers
40 views

Automatically disconnection on all port, including ssh and directadmin port

New to Ubuntu server for home, just start using it for a week and more. The server is connectable by ssh and port 2222 (directadmin port) after the system startup (power on/reboot) but after the ...
Gove Lee's user avatar
3 votes
1 answer
270 views

Unable to ssh over WAN

System: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal Openssh version: $ ssh -V OpenSSH_8.2p1 Ubuntu-...
latentcode's user avatar
1 vote
1 answer
78 views

SSH - Driving me insane

I am using the latest ubuntu 22.04.03 on a headless system. SSH continues to add these lines to the top of the config file each and every reboot, therefore locking me out. ...
Chris J C's user avatar
0 votes
0 answers
1k views

Session closed for user root

I'm trying to use an old pc as server (ubuntu desktop LTS 22.04.02) and to connect from my new personal computer (ubuntu desktop LTS 22.04.02). The command ssh -Y me@the other ip address worked once ...
SO_32's user avatar
  • 163
0 votes
1 answer
259 views

SSH Connection working on Terminal to Ubuntu-server but not showing on website on same machine

Looking at other questions I have gone through and tried various methods but the problem I am having is when I log into the ubuntu-server via terminal it works correctly, I am able to do all the ...
Greg B's user avatar
  • 1
1 vote
1 answer
11k views

Upgrade OpenSSH from v8.9 to v9.3 on 22.04.2 LTS?

I'm working on shoring up some vulnerabilities in our environment, and one of them is that we're on OpenSSH 8.9. Our security team has advised us to upgrade to 9.3, but I'm not seeing anything ...
Kat Fitzgerald's user avatar
0 votes
1 answer
148 views

how to properly mask ssh server background service

I want to mask ssh so the ssh server is disabled till I need it myself. but still want to have ssh client capabilities. I use openssh and the service is ssh.service and its alias sshd.service I use ...
Usermaxn's user avatar
  • 197
3 votes
3 answers
1k views

How to access my computer's terminal in the university dorm from another computer?

I have used ssh to access remote computers/servers where they provided me a username, a password, and an IP address (like xxx:xxx:xx.xx). What I need to do is: ssh [email protected] and then it ...
Abdul Muhaymin's user avatar
0 votes
0 answers
229 views

Apache2 webserver not accessible from outside LAN

I've just installed Apache2 web server on Ubuntu 22.04 with PHP, MariaDB and Wordpress. I've been following this YouTube guide: https://youtu.be/pOESHd1G-HI My Ubuntu machine's ip is: 192.168.1.16. I ...
scranley's user avatar
0 votes
1 answer
441 views

Future Security Update to openssh-server on Ubuntu Server 20.04 LTS?

As per: https://launchpad.net/ubuntu/focal/+source/openssh/+changelog and https://ubuntu.com/blog/what-is-an-ubuntu-lts-release and https://ubuntu.com/about/release-cycle " For each Ubuntu LTS ...
user user's user avatar
0 votes
0 answers
122 views

ssh tunnel general process on a phone -used as vpn -user limitation failed

I'm using a couple of vm's as an ssh tunnel-vpn for both android and iOS, using ssh clients on both OS's. so now i want to limit the number of sessions per each user in order for each user is limited ...
Sandman Shiri's user avatar
0 votes
0 answers
201 views

How can you access net applications on wsl 2

I need to send a file from one WSL to another for a task I'm given. I tried to use scp command, but it requires me to get a wifi0 IP address for the network both devices are connected to, which I don'...
Mhmoud Njedeen's user avatar
0 votes
0 answers
74 views

password policy(not allowed special characters) between 18.04 and 20.04

I have two vm's, one with 18.04 and other with 20.04 on two different machines. I used to configure password for the VM from machine. SHA512 is used for generating hash key for password. And generated ...
Shaik Musthafa's user avatar
0 votes
0 answers
949 views

ssh and sshfs connection via NordVPN meshnet not working

I have set up an OpenSSH server on my home PC (Ubuntu 22.04 LTS) and am trying to connect to it using ssh and sshfs from my Laptop (Ubuntu 20.04 LTS). The server seems to be running smoothly and I can ...
Stefan's user avatar
  • 1
0 votes
0 answers
14 views

cannot install openssh-server [duplicate]

I'm having trouble installing OpenSSH server on Ubuntu-22.04.2 (not 22.04.1). ERROR: $ sudo apt install openssh-server Reading package lists... Done Building dependency tree... Done Reading state ...
chess's user avatar
  • 21
0 votes
2 answers
682 views

SSH into server running xinetd throws error "kex_exchange_identification: read: Connection reset by peer"

I have two servers running ubuntu 22.04.2 LTS with openssh-server 1:8.9p1-3ubuntu0.1 installed. And on both servers I have installed the same admin user. I want to test the legacy superdaemon xinetd ...
Thomas Grusz's user avatar
0 votes
0 answers
93 views

Why I am not able to connect Ubuntu server with SSH key?

I have Ubuntu server 22.4 and I it had SSH server installed. Time to time SSH connection was doping even while I was working. I update the SSH by using command sudo apt-get update ssh. After the ...
LoverBoy3694's user avatar
0 votes
1 answer
151 views

Access to remote server via SSH via pem key requests 2 set of password (key and user)

On a remote server, I would like to access via ssh only with a pem key, which is password protected, but I'm being asked for the user account password as well I created the account which I want to use ...
FeDos's user avatar
  • 156
0 votes
1 answer
856 views

issue sshd_config / systemctl restart

one of my workstation (previously it was a 22.04.1 server edition but according to NUC compatibility list last BIOS and dbx EUFI Database uggrade force me to downgrade to workstation as Server edition ...
Fred L.'s user avatar
  • 19
0 votes
0 answers
4k views

Can’t change SSH port

I can’t change the port from 22 for openssh. I’m using /etc/ssh/sshd_config. The line hasn’t been commented out. I’ve restarted the service. But no matter what I do when I check with service ssh ...
Brandon OFTO's user avatar
2 votes
1 answer
1k views

Can't connect SSH on static IP address

I have a default Ubuntu Server 22.04 installation (haven't done anything on it yet). SSH is working fine with default configuration on server's dynamic local IP. I then set up a new netplan ...
KarmaciouS's user avatar
0 votes
1 answer
3k views

SSH service fails to start

I just created a virtual machine based on cloud images (of Lunar Lobster) on VMWare. Unfortunately it fails to start ssh. If I try to enable or restart the service I get: And if I check journal it is ...
Greenfly77's user avatar
0 votes
1 answer
485 views

SSH with "Do not execute a remote command" hangs

I have Ubuntu 22.04 installed on a remote server. I can ssh to the server without any issues. I often need to open a vnc tunnel with the following command: ssh -L 5901:127.0.0.1:5901 -C -N -l username ...
Mac Technicon's user avatar
0 votes
1 answer
174 views

Unstable SSH connection on old hardware and clean OS

I have a Ubuntu Server 18.04.6 LTS on an Intel Core Quad Q6600 and old Gigabyte 965P-S3 motherboard. Right now SSH is unstable. Client loses connection after 10 minutes of inactivity, but there is no ...
Semyon Bayandin's user avatar
0 votes
0 answers
123 views

SSH Connectivity Issue

Why does the ssh client stop connecting to servers either right after reboot or few minutes after reboot? The screenshot I found this in both ubuntu 20 as well as ubuntu 22. My server is working fine ...
saikat sadhukha's user avatar
0 votes
0 answers
38 views

How to SSH in Ubuntu on a VM to Ubuntu on another VM

I'm new to Linux. I​ have Ubuntu installed on Virtualbox on my Desktop, and I want to connect to it from Ubuntu installed on Virtualbox on my laptop. How can I​ do that? which user name and IP will I ...
Mina Habashi's user avatar
0 votes
0 answers
78 views

How to enforce 2FA while already enforcing public key authentication?

I have been using google 2FA for a while and it works solid. How can I enforce 2AF for some users in addition to ssh key based login? All websites I visited explain how to set it up, but the result is ...
diagpope's user avatar
0 votes
0 answers
93 views

Limit TTY via SSH to local Network

I'm setting up a JumpHost for my local network, and would like to not allow TTY from outside, but would also like to have it enabled for connections from inside the network. Is that possible, and if ...
isi_ko's user avatar
  • 179
0 votes
0 answers
904 views

Trying to ssh into IPv6 address, getting "no route to host"

I have a home computer that uses Ubuntu 22.04, that I'd likely to remotely SSH into, from the internet. I'm trying to do this through its public IPv6 address. The address doesn't begin with fe80::, so ...
Train Heartnet's user avatar

1
2 3 4 5
11