Questions tagged [ssh]

SSH, or "Secure Shell", is a networking protocol for securely connecting to a remote computer over an unsecure network. SSH is also the name of the default command-line SSH client. This tag is for questions involving using and troubleshooting SSH connections, 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.

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

Why Did SSH Fingerprint When Connecting To Remote Box Change, After Upgrade from 18 LTS to 22.04, With PHP ssh2_fingerprint But Not From Terminal?

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
  • 148
-1 votes
0 answers
14 views

OpenGL window of VMD does not works from remote machine via ssh

I'm trying to use VMD from a remote machine via SSH using the -X flag and the Main VMD and OpenGL VMD windows open but the OpenGL one shows nothing and in the terminal I receive the following output: ...
Matheus Henrique Reis's user avatar
1 vote
0 answers
47 views

How to use local-link ipv6 for ssh?

I am able to remotely access my Ubuntu 22.04 PC from my windows' notebook at my local network using ssh ssh <username>@<public ipv6 address> -p <port> Or ping it without no problem. ...
hamagust's user avatar
  • 177
0 votes
0 answers
20 views

OpenVPN: I cant ping from remote to local, but local to remote works

I am trying to ping from remote server to my local, but it does not work properly. I am accessing an Ubuntu 22.04 Server through SSH(10.30.X.X), it works. When i try to ping from remote 10.30.X.X to ...
Plínio Ribeiro's user avatar
1 vote
1 answer
39 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
55 views

Execute Sudo and ssh sequentially through shell script

I am trying to execute below three commands through interactive mode sequentially and it works fine. But when I use the same command through shell script, control struck after sudo, the second command ...
Arun's user avatar
  • 1
0 votes
0 answers
130 views

Rsync Local to Remote - Stating both source and destination are remote

I am trying to use rsync to transfer files from my local windows machine to a remote ubuntu machine. I have searched online and have had no dice. When I try to run the command, rsync tells me that the ...
Connor Davidson's user avatar
0 votes
0 answers
50 views

Fail2ban with lots of IPs in log

I have a VPS with Ubuntu 20.04 to run a Counterstrike source server and I'm experiencing a weird kind of attack on ssh (brute force?) I setup fail2ban and on the first day of server online a lot of ...
rodrigtti's user avatar
0 votes
1 answer
29 views

SSH to Ubuntu virtual machine under Azure, permission denied (publickey)

We do have a virtual Ubuntu machine under Azure. The IP address is known (for this message it will be named "thatIP"). Setup to log in via a certificate does work. We are now trying to set ...
Max Wyss's user avatar
  • 184
0 votes
0 answers
27 views

how to set a static ip address for a server

I have file server that uses Samba. I connect to it through VPN and SSH. Sometimes, the server's IP address changes, and I can't access my files or SSH into it. I want to set a fixed IP address, but I ...
tschembe's user avatar
0 votes
0 answers
14 views

Ubuntu - SSSD - SSH key retrive from windows AD

I have asked my windows team who manage the active directory to add my ssh public key to my AD account. But after the first login to my Ubuntu servers the key did not created. Do you know which setup ...
HBtools's user avatar
  • 19
0 votes
1 answer
35 views

Disk shows blk_update_request after restarting

I'm using Ubuntu Server 22.04. The disk shows blk_update_request and spams it into console after I shut it down remotely and it worked perfectly fine before, but now it shows this error. I suppose it ...
ENDER's user avatar
  • 1
0 votes
0 answers
54 views

How to connect via SSH to different Qemu instances

I want to connect from my local laptop to remote desktop (let say 170.170.70.70) with two Qemu instances started with parameters (most parameters skipped, I left only those that differs) qemu-system-...
JaSON's user avatar
  • 121
4 votes
0 answers
75 views

Tmux uses only one core

My situation I want to run multiple R scripts on a Ubuntu server with which I connect via SSH. To run multiple R scripts I want to use tmux and one session for each run. My problem When I start one R ...
Marcello Zago's user avatar
0 votes
0 answers
38 views

Can't connect to Linode using ssh

Trying to connect from Ubuntu 22.04 through ssh to linode. But it's giving: ssh: connect to host xx.xx.xx.xxx port 22: No route to host I tried ping xx.xx.xx.xxx and it worked fine. Output of telnet ...
NubDev's user avatar
  • 119
0 votes
0 answers
104 views

SSH client_loop: send disconnect: Broken pipe

I have been receiving this message frequently when I am inactive in an SSH connection. client_loop: send disconnect: Broken pipe I tried the following: Add ServerAliveInterval=86400 and ...
thematter18's user avatar
1 vote
0 answers
29 views

Trouble SSHing into Raspberry Pi with Passwordless SSH Key on Ubuntu Core 20

I have successfully created a bootable Ubuntu Core 20 SD card using Raspberry Pi Imager. I generated an SSH key using PuTTY Key Generator without a password and added it to my Ubuntu account's SSH key ...
Avishek's user avatar
  • 11
0 votes
1 answer
43 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
  • 485
0 votes
0 answers
15 views

when I run vagrant ssh the screen just hangs on the system status report

PS C:\Users\l> vagrant←[100m ssh←[100m Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-162-generic x * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * ...
Micheal Ian's user avatar
0 votes
1 answer
34 views

Cannot ssh to ubuntu vm (not localhost)

I'm trying to connect to my VM that's running Ubuntu. I figured out its IP address as well as the IP address of my host computer and inputted into the network settings via the VirtualBox Manager like ...
Mathew's user avatar
  • 103
0 votes
0 answers
36 views

SFTP - Configuration for multiple user and one super user using certificate authentication

I need your help about configuration for my SFTP server on Ubuntu. I've installed open ssh, I've created my key pair. I've configured sshd_config, to allow only certificate authentication, and for ...
danje's user avatar
  • 1
0 votes
0 answers
43 views

Change the Authentication Prompt to be inside a terminal?

I am want to access my desktop PC with ubuntu via SSH from my laptop. So when the terminal required to use this prompt, is there a way I can change it to be inside the terminal instead of a 'visual' ...
Ricardo's user avatar
0 votes
0 answers
32 views

ssh: connect to host (ip address) port 22: Permission denied

I just reinstalled the Ubuntu server OS on some devices and accidentally deleted the SSH keys in the %WINDOWS% folder and on the registry folder > Simon Tatham> then deleted it. Now, I can't ...
Fluffy3763's user avatar
-4 votes
0 answers
63 views

SSH Host Keys Regeneration using Cloud-init

Virtualizor is the platform I use to create VMs for my users. I create VM templates for users to ensure secure configuration, since Virtualizor's own templates contain deprecated methods and other ...
SentinelNet's user avatar
0 votes
0 answers
38 views

I can only connect to port 22 of my Ubuntu PC from a Windows PC, how to open other ports for connection?

I have a Ubuntu and Windows PC respectively, they are connected to a same local area network, here is the situation: I can connect to any server programs running on my Windows PC from the Ubuntu. I ...
Kai Xuan Ma's user avatar
0 votes
1 answer
55 views

SSH terminates randomly

I have been using Putty on Windows to connect to Ubuntu instances on AWS and Google Cloud without issues. I could leave the session alone all day and they were never broken (if my PC does not lose ...
Old Geezer's user avatar
1 vote
1 answer
93 views

Undead SSH services after restarting Ubuntu 22.04 on LXC machine

Some services SSH die after restart on Ubuntu... Or so they say. The status is "inactive (dead)", but you can connect to the server. What could be the problem here? What can one check? Some ...
Nux's user avatar
  • 79
1 vote
0 answers
29 views

Adding default routes in dhclient-exit-hooks breaks ssh until first sending a ping

I nave a system running with 2 network cards. To make sure the default route is correct for each card added the following to /etc/dhclient-exit-hooks: if [[ "$interface" == "eth0" ]...
Tobias Nilsson's user avatar
0 votes
1 answer
41 views

Fail2ban sshd rule is active but not working!

I used ubuntu 22.04 TLS. sshd_config: Port 9401 SyslogFacility AUTH LogLevel VERBOSE MaxAuthTries 3 /etc/fail2ban/jail.local: [ssh-9401] enabled = true filter = sshd logpath = /var/log/auth.log ...
Yaraa's user avatar
  • 1
0 votes
0 answers
28 views

ED25519 SSH Connection Hangs/Time-outs

I am battling what I would call an unusual SSH issue with Ubuntu 20.04 and 22.04. I'm in deployment of Ansible Tower and Kubernetes (K3S); initially using 22.04 but discovered AWX could not connect to ...
TechBrain64's user avatar
0 votes
0 answers
41 views

Unable to Change SSH Port on Ubuntu

I'm currently facing an issue with changing the SSH port on my Ubuntu server. I've tried multiple troubleshooting steps, but I'm still unable to get SSH to listen on the desired port. I'm seeking ...
ami's user avatar
  • 1
0 votes
0 answers
29 views

How can I stop and rerun git clone command in case of a specified time delay?

I have a custom clone command. I call clone org_name and it automatically clones every repository of that organization for which the current developer has access to. Of course my clone command uses ...
Saeed Neamati's user avatar
0 votes
0 answers
28 views

something went wrong when I tried to use xrdp remote control

I have a question: When I use XRDP for remote connection, I get the following error: [20230823-20:42:47] [ERROR] g_tcp_bind(9, 6010) failed bind IPv6 (errno=98) and IPv4 (errno=22). Upon checking, as ...
Adam Cao's user avatar
1 vote
1 answer
129 views

Start video with VLC on Linux from Windows PC using ssh or Putty

I need to start videos on the Linux computer. I am not always able to access it directly. I am using Windows PC and I can ssh to that Linux PC. Do we have any way to start the video to play in VLC ...
Irina Kozyreva's user avatar
0 votes
0 answers
32 views

Connecting to Ubuntu using ssh over Ethernet

I have given static IP 192.168.137.20 with net mask 255.255.255.0 to my windows laptop port: Then I connected my rasberry pi (which runs Ubuntu 20.04) using USB and ran following command to also give ...
RajS's user avatar
  • 153
0 votes
0 answers
64 views

Ubuntu server pingable but stuck at startup waiting for network to be configured

When starting up a fresh install of the Ubuntu 22.04.3 LTS Server, I see it is waiting for a long time at the line below before finishing up the startup. A start job is running for Wait for...e ...
gameveloster's user avatar
1 vote
1 answer
377 views

Server refused our key - No supported authentication methods available (server sent: publickey) - Permission denied (publickey): Ubuntu server

I have an AWS EC2 instance running. I was able to connect using my chomed (-r--------) keys using MobaXTerm and SSH (Ubuntu for Windows) (.pem key) and putty (.ppk key). I'm also working on the server ...
gonzalez.ivan90's user avatar
0 votes
0 answers
53 views

Connection via SSH works once or twice then never again for that client

I have recently set up a Ubuntu Server minimized. I initially used the server through an SSH with client1 but after one use I kept getting Connection Timed Out when attempting to ssh from client1. I ...
Austin Plunkert's user avatar
1 vote
0 answers
66 views

The LAN device IP is not accessible when a SSH session is not running

Hi there I have a python script which reads data from different IP addresses in LAN, The script runs in a Edge Device with Ubuntu 20.04 LTS focal installed every 5 min using a CRON job. The problem is ...
Zain Ul Abidin's user avatar
1 vote
1 answer
65 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
61 views

How to SSH after deleting ~/.ssh folder

I was getting prompted to enter my password instead of authenticating with my SSH key. I thought if I deleted everything in ~/.ssh I would be able to generate a new key from my laptop, manually copy ...
Chris's user avatar
  • 1
0 votes
0 answers
22 views

server boots into read-only file system after power outage

ok obi wan you're my only hope. my power went out recently and when it came back on, when I login to my ubuntu server I get the message below: Unable to setup logging. [Errno 30] Read-only file ...
user3476463's user avatar
0 votes
0 answers
49 views

Can't start ssh service: Failed to start OpenBSD Secure Shell server

Can't start ssh service: Failed to start OpenBSD Secure Shell server
Jeff's user avatar
  • 11
0 votes
1 answer
108 views

How can I access my Ubuntu machine running X11/Xorg from Windows 10?

I have a laptop running Windows 10 (or Windows 11). I can ssh into my Ubuntu computer with ssh [email protected], but I'd like to either (a) use a GUI app from Windows or (b) use the entire ...
cocomac's user avatar
  • 3,093
0 votes
0 answers
76 views

About ssh configuration file internal "~" symbol parsing problem

SEE: https://stackoverflow.com/questions/76844392/about-ssh-configuration-file-internal-symbol-parsing-problem I use the root account to log in to the system (HOME: /root) I executed a script file (...
Kerwin Bryant's user avatar
0 votes
1 answer
23 views

I want to rsync a folder from local ubuntu harddrive to raspberry external harddrive

I want to rsync a folder from local ubuntu harddrive to raspberry external harddrive. Problem is finding the right path. When i search in ubuntu file explorer i can open the folder on the raspberry ...
E Tobe's user avatar
  • 1
0 votes
0 answers
38 views

How can I fix an ssh error for my home server

I am on Windows and am trying to ssh into a ubuntu server device, it is my home server and the password is correct. after 3 attempts of the password Permission denied (publickey,password). comes up is ...
SmoothTurtle872's user avatar
-2 votes
1 answer
74 views

ssh root password

How can I get the root password, I'm trying to login in cmd with the command ssh root@localhost and I don't know what type of password I should use. The server is a linux vps. My system is Windows 10.
harishasa99's user avatar
1 vote
0 answers
65 views

Ubuntu went black screen during regular update but can still ssh in, how to tell if it's safe to reboot?

I can access the machine via ssh. Running htop etc I can see stuff I guess but not sure how to tell an "updates being applied" is still running. Is there a way to tell?
mathtick's user avatar
  • 560
0 votes
0 answers
33 views

OOM kills Python calculation in terminal via remote but not in a ssh

I don’t know why my Python calculation is running when I am using an ssh connection to a Linux machine (Ubuntu). The same calculation doesn’t work when I run it in a terminal via remote connection. ...
Archimedes_91's user avatar

1
2 3 4 5
122