New answers tagged ssh
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 ...
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 ...
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 ...
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 ...
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>@<...
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 ...
-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
...
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 ...
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 ...
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/...
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 ...
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
...
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 ...
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 ...
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 ...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
ssh × 6138server × 1755
networking × 1075
command-line × 561
openssh × 334
permissions × 312
bash × 304
16.04 × 217
14.04 × 215
login × 215
password × 205
sftp × 194
18.04 × 154
authentication × 140
remote-access × 140
sshd × 130
scripts × 129
scp × 129
security × 123
20.04 × 122
putty × 122
12.04 × 120
virtualbox × 119
vpn × 119
vnc × 117