Questions tagged [ssh]

SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

I'm trying to use SSHFS to transfer files via SSH to my Raspberry Pi web server, specifically using the GUI

I am new to Ubuntu/Linux. I am running 20.04. So as per the question title I am trying to transfer HTML/CSS etc files to my Raspberry Pi where I am running an Apache web server. I have been searching ...
0
votes
0answers
9 views

Nested sshpass for ssh with “-J” jump host option

I have a script with ssh commands that are using a jump host: scp -J user@jump file admin@server ssh -J user@jump admin@server "touch hello" I would like to ask for the passwords only once ...
0
votes
1answer
3k views

How to Download a file from a VPS running Ubuntu 14.04 to my local machine

I created a chaincoin masternode on a VPS running Ubuntu 14.04. It uses an SSH cert I created to secure it. Now I would like to download my wallet.dat file from the server onto my local machine. I ...
0
votes
2answers
26 views

Is it safe to remove the SSH folder under /etc after uninstalling SSH?

I uninstalled SSH via sudo apt purge ssh, then deleted the ssh folder under /etc. Is that safe? I just don't want to open a security vulnerability on my PC.
0
votes
0answers
11 views

Setting in Stop via TCSAFLUSH for stdin failed! - tcsetattr (5: Input/output error)

I login to some Ubuntu servers via ssh to run installation script. The script contains some lines as below: echo "deb http://nginx.org/packages/mainline/ubuntu/ bionic nginx" >> /etc/...
0
votes
1answer
18 views

Ping works, but ssh isn't even getting logged

I can ping from my PC on lan or mac on WiFi, but when I run ssh it doesn't even appear in the logs. (sudo journalctl -u ssh) I had installed zero-tier an a docker container I'm thinking this is the ...
2
votes
1answer
6k views

Screen not detaching with Ctrl+A D

I have a Virtual Private Server (VPS) through Digital Ocean, and I'm using PuTTY to SSH to it. I have a Minecraft server, and whenever I launch the server, it creates a screen session. Whenever I ...
1
vote
1answer
45 views

Can login to sftp, but not to ssh shell

I was trying to setup a new sftp user for my server (Ubuntu 20.04). I created the user my-user, added a public key to his .ssh/authorized_keys file and decided to test an SSH login before anything.. ...
0
votes
0answers
31 views

Why can't I SSH in to an IP address that I am able to ping successfully? (mssfix doesn't work as a solution)

I'm running Ubuntu 18.04, and I am attempting to SSH in to an IP address on a server that I have connected to using OpenVPN. Note that I have been able to ssh in to the IP address via PUTTY on my ...
0
votes
0answers
14 views

scp: error while loading shared libraries: /opt/ozone/bin/linux/libnspr4.so: file too short lost connection

I am trying to copy linux directory from one server to another server in /opt/ozone/bin/99_server path but while copying I got this "scp: error while loading shared libraries: /opt/ozone/bin/...
3
votes
2answers
3k views

Enable MariaDB SSL

I have to make my MariaDB authentication a bit safer than default. I tried to set up SSL support for this, but found only an old howto here: How to enable MySQL SSL on Ubuntu I followed it, however ...
0
votes
0answers
15 views

Login Problems using x11vnc over ssh on 20.04

I am running a nextcloud server using ubuntu 20.04 desktop. For remote access i set up a combination of ssh and x11vnc. I login using ssh forwarding the vnc port to my local pc and then start vnc ...
0
votes
1answer
45 views

Cannot connect to Ubuntu Server via SSH over wireless LAN

I installed Ubuntu Server 18.04 in my Raspberry Pi 3B Plus. I configured everything and successfully log in to my account via SSH Private Key on ethernet. However, when it comes to wireless connection,...
2
votes
0answers
15 views

Can you keep a gui application running with ssh x11 forwarding after closing the ssh connection?

There is an electron app I want to run in a remote machine, and it works through an ssh -X connection. The thing is that I would like that application to continue running even after I close the ...
0
votes
0answers
56 views

How to fix ssh?

SSH is no longer working and it reports no errors client side or server side client side: server side: I'm on Ubuntu 18.04
0
votes
0answers
35 views

Ignore suspend on laptop lid close Ubuntu Server 20.04

I can't get the SSH connection to stay live when I close the lid of my laptop. I'm running Ubuntu 20.04 on a Dell Latitude E6420 and connect to it from Win10 with PuTTY. I've already tried turning ...
17
votes
7answers
19k views

How do I disable the Message of the Day (MOTD) on Ubuntu 14.04?

I tried disabling the motd.dynamic in /var/run renaming the file, but did not work because the system recreates the file. Does anyone know disable it? Thank you.
2
votes
2answers
5k views

Using IPv6 for SSH connections issues

I'm having issues understanding how to use the IPv6 protocol to connect to other computers over SSH. I tried just using the address provided from ifconfig but it doesn't seem to work, I keep getting ...
0
votes
1answer
36 views

SSH to personal laptop from external pc

The process that I want is: Connect by ssh to a pc1 from my laptop, in pc1 connect to pc2 and in pc2 connect to my laptop. How can I know which IP is my laptop? Is that possible?
0
votes
0answers
29 views

xfce: gnome-keyring not unlocking passwords on login, “couldn't access control socket”

On a Xubuntu 19.10 system, I'm seeing ** Message: 09:46:56.174: couldn't access control socket: /run/user/1001/keyring/control: No such file or directory on first opening xfce4-terminal. However, the ...
1
vote
0answers
27 views

Why file transfer over ssh drops

I'm trying to trasfer a file over ssh. The file is 78M and I connected to the server via VPN. I ran the following command to transfer the file: sshpass -p "xxx" rsync -avz --progress -e ssh -...
0
votes
1answer
37 views

How to install hpn ssh on ubuntu 20.04

I want to transfer files via ssh, but it's slow. I've read hpn ssh can speed up ssh. However, I don't know how to install it on Ubuntu 20.04. I just find nothing about this subject on the internet!!!! ...
1
vote
0answers
18 views

How to select the gpg agent used for ssh and other things?

I want to use qubes-gpg-client instead of the default gpg-agent that comes on ubuntu. How can I make it such that ssh and other things always use this custom agent instead of the default one?
3
votes
3answers
4k views

Import public key from github to local ubuntu account

I'm setting up a new Ubuntu (18.04) server and noticed during install that I could import public keys from github. I've now finished setup and would like to create some more users. It seems ideal to ...
0
votes
0answers
43 views

SSH on Ubuntu 20.04 Windows 10 Subsystem ignores IdentityFile specified in .ssh/config

SSH flat out ignores the identity file I've specified in my .ssh/config file and will not use that key to authenticate with my work server. This is my config file: Host * # This is to fix ...
0
votes
1answer
37 views

20.04 headless on Raspberry pi 4 re-install will not allow password authentication on ssh

I installed 20.04 on a new headless pi 4 - no problems. Using Raspberry Pi Imager and selecting 20.04 server each time. Decided to re-install for a clean production environment but the new ...
1
vote
1answer
41 views

SCP to multiple servers using key pair authentication

I'm using a key pair for authentication for SSH on all my servers. We disable password login over SSH for security reasons on all our Linux servers. On each server I have a folder at the root level ...
1
vote
1answer
48 views

SSH server listening on 0.0.0.0:22?

I have two machines in my home network and I want to connect them over SSH. The first machine has a local ip 192.168.1.23 and openssh remote client installed. The second has a local ip 192.168.1.169 ...
0
votes
1answer
37 views

Include a new file in the SSH configuration file

I have Ubuntu server 18.04.04 LTS with OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017. I want to include a new created file newFile into \etc\ssh\sshd_config I have add this line on the ...
1
vote
0answers
35 views

How to check the version of libssh-dev installed and update to newer version?

I tried to check my libssh-dev version by running the following command: user@client56:~$ dpkg -l | grep libssh ii libssh-4:amd64 0.6.3-4.3ubuntu0.5 ...
0
votes
0answers
40 views

Intermittent network timeout on Ubuntu 20.04 server

I've been having an intermittent network issue with my Ubuntu 20.04 LTS server. Theres a few symptoms that seem to be similar but slightly different so I'm not sure where to look exactly. Heres a list ...
1
vote
2answers
10k views

How to connect to guest vm(KVM) on remote host PC

I have dedicated server with ip. I installed KVM, launched virtual machine(Centos), vm has internet connection(NAT), I installed and launched openssh server (22 port). How can I connect to that VM ...
1
vote
1answer
40 views

Bash command to determine is it the first ssh connection after the reboot?

Like the following answer Bash command to determine first login for a particular time period, instead of for a duration I want to find out to check is the first time the user connected into machine ...
0
votes
0answers
19 views

Created a reverse proxy for API, but return SSH string

I Have created a Virtual Machine for running a API with PHP 7, created a reverse-proxy, it returns code 200-OK but don't what have to returns (token on login for exemple) it return the string [SSH-2.0-...
0
votes
1answer
20 views

Landscape Script timed out while executing bash script

I'm new to the bash script. Running a bash script to send a list of packages through a file to client machines. But it gives me the error as "Script timed out while executing." Here is the ...
0
votes
0answers
28 views

Gnome Keyring:SSh Agent

Does the SSH Agent (Gnome keyring) have anything to do with the default keyring authentication that keeps popping up? It wants a password that was never set up which is problematic. I keep hitting ...
1
vote
0answers
24 views

Install pfctl on focal (20.04)

I am using sshuttle with pf method, it's the only method working for my use case. Is there a way to have pfctl installed in Ubuntu focal 20.04?
1
vote
1answer
172 views

ssh agent forwarding not working after ubuntu 20.04 upgrade

SSH agent forwarding was perfectly working when I was using xubuntu 19.10, after I upgrade my system to xubuntu 20.04, its not working anymore. I never change /etc/ssh/config or /home/.ssh/config . ...
19
votes
3answers
51k views

Copy files from a server via ssh to dropbox.

I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first ...
0
votes
0answers
24 views

Ubuntu 20.04 create user with access to a single directory

I created an Ubuntu 20.04 server and I want to create a user with SSH and SFTP access to a single directory, which will be the root of that user’s web directory. I added the user using sudo useradd -d ...
1
vote
1answer
2k views

X11 from remote gnome-session

I'd like to run a remote gnome-terminal and have X11 apps show up locally. This should do the trick but doesn't ("Can't open display"): ssh -Y user@host gnome-terminal This is not what I want, ...
1
vote
1answer
6k views

How to bring up System settings GUI tool using Cygwin-X over SSH

I am connecting to my headless ubuntu 12.04 server using SSH and I want to make some changes to system settings. There is no desktop manager running so VNC is not an option for me. I have Cygwin-X ...
0
votes
1answer
59 views

Enabling SSH remotely on Ubuntu 18.04

Suppose I have a server that has Ubuntu 18.04 installed. If I want to enable ssh on it, do I have to physically be in the server room to do it? Or can I do it remotely? I have a Windows laptop and ...
0
votes
0answers
22 views

ssh server when port forwarding not available

My mother's laptop can be connected to many different networks, and I am unable to configure proper port forwarding on them all. I would still like to have remote access to help her when she needs it. ...
0
votes
0answers
10 views

Nano looses scroll support when 'set mouse' is enabled

Mouse scrolling works fine in nano, however when I add set mouse in /etc/nanorc to enable point and click support, scrolling no longer works. Commenting out set mouse enables it again. Not sure if it ...
1
vote
1answer
3k views

SSH Daemon does not autostart

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create ...
0
votes
0answers
14 views

Setup default folders on using adduser

I have an Ubuntu 18.04 LTS system. I tried creating a new user from the terminal as: $ sudo adduser xyz. I was successful. Then when I ssh-ed into this new user as: $ ssh xyz@localhost and hit $ ls, ...
0
votes
0answers
9 views

can I stop X server using ssh?

I want to install an Nvidia toolkit on a remote server. It seems I should stop X server using sudo service lightdm stop. I don't know enough about this command, I'm afraid that I lose the connection ...
0
votes
0answers
15 views

Wipe Everything on Ubuntu Server except for OS

Upgrading a physical server (not VM) from Ubuntu 16.04 to 18.04 over an SSH connection, and after I do so, I need to clear off all files except for the OS and the SSH server. Option 1: Is there a ...
0
votes
1answer
29 views

How do I open VM from command line with virsh

I can start a Virtual machine from command line and can then connect through ssh, nut I need the ip address to do this. checking ifconfig gives the gateway but not the machine number.I have tried the ...

1
2 3 4 5
101