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
19 views

Ubuntu 20.04 GCP VM SSH Text suddenly turned bold and cursor is misplaced!

I have a VM on Google Cloud Platform [Ubuntu 20.04] Suddenly, all the text has turned bold and the cursor position is misplaced and I am unable to type easily! Everything is messed up in the SSH as ...
0
votes
0answers
12 views

Cisco AnyConnect Blocks all ssh connection

I am using VPN to connect to my client, Setup is as below, in my desktop there is a oracle virtual machine is running and there one ubuntu server is installed and in ubuntu-vm cisco any connect is ...
1
vote
0answers
18 views

UFW: Weird incomming request from router and other home pc [duplicate]

This morning I finished setting up raspberry pi os. I also set up my ufw. Now when I check my logs I see this weird incomming blocked request. These ip addresses are from my router, my own laptop and ...
0
votes
1answer
30 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
2answers
27 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
13 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 ...
1
vote
1answer
46 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
33 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/...
0
votes
0answers
16 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
47 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
43 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 ...
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
1answer
39 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
30 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 -...
1
vote
0answers
19 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?
0
votes
1answer
42 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
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
50 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 ...
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
1answer
38 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 ...
0
votes
0answers
42 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 ...
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 ...
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-...
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
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 ...
0
votes
0answers
45 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
0answers
25 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
0answers
24 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 ...
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
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
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 ...
1
vote
0answers
62 views

intruder set crontab for git: what is it doing ? How do clean

My git crontab was empty. Today I see it is set to this. I have no idea what it is doing 1 1 */2 * * /home/git/.configrc/a/upd>/dev/null 2>&1 @reboot /home/git/.configrc/a/upd>/dev/null 2&...
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 ...
0
votes
0answers
49 views

Unable to connect to basic ubuntu ssh server with password authentication - permission denied publickey

Title says it all. I followed this guide to the letter: https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/ However at the end I was unable to ssh to ubuntu - I get permission denied (...
0
votes
0answers
47 views

Why is Ubuntu denying connections to port 21 and 22 (FTP and SSH)?

The firewall says that the ports are both open and both services are running. Why is this happening? For SSH it says: Connection closed by (IP) port 22 and for FTP it just won't load any directories ...
0
votes
0answers
31 views

Help me with closed port 22

I have issue. I was working with ufw. And didn't saw that ufw didn't apply command "ufw allow ssh". So now port 22 is closed and I can't access to server(Open only 80 and 443 ports). All I ...
1
vote
0answers
31 views

ssh_exchange_identification: read: Connection reset by peer | linux |ssh is working

When i am doing ssh user@ipaddress it't working fine but i am using this command "ssh -t -p2222 user@myserverip remoteuser@remoteip " that time it is showing error "...
3
votes
2answers
150 views

Why does my ssh login include what looks like a promotion for a TechRepublic article?

When I ssh into my Ubuntu box I see the output below. I was surprised to see the quote and the link to the TechRepublic article. Is that an advertisement? Anyone know where that is coming from? Is ...
0
votes
1answer
48 views

Unable to SSH to a local system; error (publickey, password), SSH key regeneration

I'm running Ubuntu 20.04 desktop and unable to SSH into it, getting the error(publickey, password). Here are the logs : ssh -vvv titan@192.168.0.122 OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar ...
0
votes
1answer
56 views

Problems with SSH, I also can't ping any websites or local devices on the network

I have an ethernet cable connected to the router and I set up the ubuntu server with the IP 192.168.1.123 using the installation of Ubuntu Server 20.04 Manual IPv4. I used Set static IP on Ubuntu Core ...
0
votes
0answers
14 views

Open Amazon Prime Video and autoplay from terminal

I am trying to ssh to a machine I have connected to my TV, and then open and auto play an Amazon Prime video. I am able to open the the video with firefox --display=:0 https://www.amazon.com/gp/video/...
0
votes
1answer
46 views

Prevent host shutting down when remotely logged in

I have a laptop I'm setting up with SSH open server. It works great after I wake it up with magic packet and login with: ssh user@host -Y The problem is the laptop is designed to blank screen after ...
1
vote
1answer
20 views

Owncloud Appliance SSH key fail to import [closed]

Steps refer to instructions on the page for installing the Owncloud appliance for Raspberry Pi 3 and 4. ssh-keygen -t rsa runs fine (step 3) keys are generated. Step 4 makes no sense to me. "~....

1
2 3 4 5
101