New answers tagged

0 votes

How to set up disk automount in Ubuntu Server

udev is the device manager for the Linux kernel, primarily used for dynamic device handling. You can write udev rules to automatically mount and unmount USB drives when they are connected or ...
Thomas Aichinger's user avatar
0 votes

Password Authentication Issue SSH - Cannot disable

It is by design. In the man page https://manpages.debian.org/unstable/openssh-server/sshd_config.5.en.html it states the following: /etc/ssh/sshd_config.d/*.conf files are included at the start of ...
Terrance's user avatar
  • 40.4k
0 votes

Troubleshooting SSH Access Denied Issue on Ubuntu Server 22.04.3

The issue we encountered was eventually traced back to a keyboard-related problem with the VMware web console. Specifically, the discrepancy arose with the '@' character in our password, which was not ...
JC33's user avatar
  • 1
2 votes

How to keep ssh command running when python script called by ssh command exits with an error?

As mentioned in my comment, the command passed to the SSH is bash -e path/to/script, which terminates the script on any non zero exit status. This choice of option was necessary to catch a Ctrl+C ...
Legh's user avatar
  • 41
0 votes

SSH into my own machine on my local network (no access to peripherals and remote access is not turned on)

An excellent ssh client is included with all releases and flavors of Ubuntu (except Ubuntu Server). No separate application is needed. Simply open a terminal. ssh <windows_username>@<...
user535733's user avatar
  • 59.9k
0 votes

Prevent machine from sleeping when SSH connections are on

A simpler method would be adding the following python script to the root crontab (echo "*/1 * * * * python3 /path/to/inhibit.py" | sudo tee -a /etc/crontab) to check if an active SSH session ...
infixint943's user avatar
-1 votes

How can I access my ubuntu server installed on my laptop from another linux OS

Edit : Not working: This only if i want to access via Ethernet :(( ...I want via internet I've figured out myself .. Following steps I've followed on my server sudo apt-get install openssh-server ...
Bhargav - Retarded Skills's user avatar
0 votes

Can not remote control server - Ubuntu 23.10

So, Not recommended to enable Remote Desktop (i.e. sharing feature) and xRDP software on the same machine. They are listening to the same port and this creates conflict... So, Option 1 - You either ...
Griffon's user avatar
  • 2,227
0 votes

SSH Server stops working after reboot, caused by missing /var/run/sshd

If you still have internet connection, you can simply reinstall the openssh-server package by using this command: sudo apt install openssh-server --reinstall It will recreate missing files and ...
Milad Yarmohammadi's user avatar
1 vote

Repetitive warnings about Github's ECDSA host key differing from the key for IP address

I ran into this issue when doing a git clone today: Warning: the ECDSA host key for 'github.com' differs from the key for the IP address '140.82.114.3' Offending key for IP in /home/<user>/.ssh/...
Scott Weldon's user avatar
0 votes

tmux status bar is breaking

There's a troubleshooting section in the Readme that starts just below the install directions. More specifically it includes, "Status line is broken and/or gets duplicated at the bottom of the ...
l3l_aze's user avatar
  • 237
0 votes

How to start/configure pulseaudio remotely with ssh?

Put this in your ~/.bashrc in the remote server (if you use Bash as default shell): if test "$SSH_CLIENT" ; then export PULSE_SERVER=tcp:localhost; fi or put default-server = tcp:localhost ...
jarno's user avatar
  • 5,466
0 votes

Can't ssh even with public key added to authorized_keys

If you're sure you've copied your public key from your local machine to your remote server via scp ~/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys (replace myUser and 29.124.135.100 ...
M.Ed's user avatar
  • 101
0 votes
Accepted

By a bash script executed in a local computer run a command (with sudo privileges) on a remote server

I have found a workaround/solution. Using a file that temporarily stores the password for sudo I have modified the script executed in the local system by adding some commands showed below: creation ...
User051209's user avatar
0 votes

Is there an SSH connection manager?

You can check GoTo utility, which is a simple command line SSH manager. It's still in development state, but already usable. I wrote it for my own needs but will be happy if it can be useful for ...
grafviktor's user avatar
0 votes

SSH error: Permission denied, please try again

Fault phenomenon in my case, server using dropbear. client using openssh-client and the client got this err msg (when connnecting): Permission denied, please try again Troubleshooting but it not ...
yurenchen's user avatar
  • 411
0 votes

Getting this error "puttygen: error loading `name.ppk': PuTTY key format too new"

In order to convert the new v3 ppk file to pem, you need to use puttygen 0.75 or newer. At the time of writing this, v0.73 is the latest you can get using apt, but you can download and build the ...
Axel Köhler's user avatar

Top 50 recent answers are included