Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssh]

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

0
votes
0answers
7 views

How do I use Gpg4Win as a remote gpg agent from my Ubuntu server?

I have Ubuntu Server 18.04 running on one machine, and Windows 10 running on another. I use Gpg4Win + Putty to authenticate via SSH to connect to the Ubuntu machine from the Windows machine. On this ...
0
votes
0answers
5 views

How to enable “AllowIndirectGLX” on Ubuntu 18.04 with Nvidia (1050Ti)

Following scenario: I like to a run an opengl application from a remote cli only server (with a matrox graphics card) through "ssh -X". My local machine is running Ubuntu 18.04 with Nvidia graphics. I'...
0
votes
1answer
20 views

Sshing into a server

I have noticed that after upgrading my laptop (not sure if this is the reason) to 18.04 Ubuntu, I have not been able to ssh to an institute server although I'm able to on the same internet network ...
0
votes
0answers
12 views

Remote SSH command with export will reset environment variable? [duplicate]

I'm using remote ssh command with "export" to add environment variable, like this: $ ssh jenkins@test "export PATH=${PATH}:/opt/xxx; env" And the PATH listed in env is PATH=/home/administrator/bin:/...
0
votes
0answers
24 views

Installing zsh on remote server disabled ssh login?

I have a remote VPS running Ubuntu 18.04.1 LTS. I created a new sudo user and disabled the root login my provider set the server up with. I generated ssh keys for the new username successfully and ...
0
votes
0answers
25 views

how to achieve fast x11 forwarding on Ubuntu 18.04 now that weak ciphers like arcfour and blowfish are not supported?

with earlier versions of ubuntu I was able to get ssh -X to work to satisfaction, without lagging by using the ssh -X -C -c blowfish-cbc,arcfour command using the blowfish-cbc,arfour ciphers. But ...
0
votes
0answers
10 views

How to reconnect to a previously disconnected PTY? [duplicate]

Sometime, while running long-time or interactive commands (apt-get, wget, make…) through SSH, my connection is dropped for some reason (the router lost the connection, or the WiFi quickly disconnects/...
0
votes
0answers
25 views

Idle remote ssh session slow to “wake up”

I have this minor, but annoying and puzzling issue: I ssh into an Ubuntu 16.04 LTS desktop (from another Ubuntu machine) Login is fine, pretty fast I do whatever I do and leave the terminal idle for ...
0
votes
0answers
17 views

Xforwarding from ubuntu to windows 7 is displaying programs on ubuntu instead of forwarding

Today i went to ssh into my Ubuntu 18.04 server from my windows 7 machine for some routine maintenance to find out xforwarding isnt working. In the ssh session, regardless of using putty or cygwin, if ...
0
votes
0answers
25 views

SFTP/FTPS speed throttling

Download speed from my dedicated server tops out at ~4.5 MB/s or ~9 MB/s after a routine sudo apt dist-upgrade a while ago. Before it used to be fine. I tried these combinations: Filezilla SFTP, ...
0
votes
2answers
85 views

How to create a folder named .ssh in the user’s home directory in ubuntu?

I want to create a folder in my home directory which name is .ssh. I can't create it with this name because it's showing: cannot create directory ‘.ssh’: File exists How should I proceed?
0
votes
0answers
17 views

Server responded Protocol error packet too long 1349676920

What is the solution for above mentioned error. I received that issue while connecting from putty / tectia secure shell tools. I have installed ubuntu server 18.04. Below is the output for ssh and ...
0
votes
0answers
47 views

Job for fail2ban.service failed because the control process exited with error

I have a basic issue on getting fail2ban started on one of my machines. I have a machine with Ubuntu 16.04 freshly installed today, and I am following a variety of instructions on fail2ban from source ...
0
votes
0answers
8 views

Nautilus - Connect to Server - SSH with MFA

I want to connect to a remote file server through "Connect to Server" in Nautilus. The File server uses password and Token App to authenticate the login. I get timed out error when I try to login to ...
0
votes
0answers
14 views

X11 Forwarding: distinct behavior in PuTTY and SmarTTY

Using PuTTY: [user1@server1 ~]$ xclock (works!) [user1@server1 ~]$ sudo su webmusr [sudo] password for user2: [user2@server1 ....]$ xclock (naaah!) PuTTY X11 ...
0
votes
0answers
55 views

Server responded Protocol error packet too long 1349676920

What is the solution for above mentioned error. I received that issue while connecting from putty / tectia secure shell tools. I have installed ubuntu server 18.04. Below is the output for ssh and ...
0
votes
0answers
22 views

Permission denied (publickey) after every time being disconnected

After getting disconnected from the server (Ubuntu 18.04.1) I can not login anymore using public key. I have 2 accounts that can run sudo. One account uses public key and a passphrase to login, and ...
2
votes
0answers
54 views

Update-motd.d does not update on ssh login

This following message shows up whenever I login via ssh. System load: 0.23 Processes: 163 Usage of /: 24.1% of 58.39GB Users logged in: 0 Memory usage: 27% ...
0
votes
1answer
27 views

SSH tunnel to browse localhost, super slow

To visit sites/services like jupyter notebooks and rstudio-server on my server I make a ssh tunnel and then just browse them in my webbrowser on my local machine, however, since yesterday, all my ...
0
votes
0answers
17 views

Juju bootstrap failure

First thing, Thanks for reading. System specification: MAAS region controller(also juju client): lemur laptop from System76. Ubuntu Linux 18.04.1 LTS juju --version is 2.4.3-bionic-amd64 MAAS ...
0
votes
2answers
42 views

Permission denied to access public ssh key

I can't add my ssh public key to the ssh-agent and my ssh folder is odd I believe.here is a screenshot
0
votes
0answers
26 views

ssh connection refused from the terminal

I'm trying to connect to a server using SSH, but I got this error: ssh: connect to host prh.prhgp.eve.es port 22: Connection refused I have 2 servers, one of them works but the other doesn't. ...
8
votes
4answers
1k views

How can SSH work with an if condition?

I have an if statement to calculate files and delete all except the latest three files. But I want to run this command remotely. How can I combine ssh with an if condition? I tried this but no ...
0
votes
1answer
24 views

switch from SSH key-based authentication to normal account login

The current login method of the server is SSH key-based authentication, I wish to switch it to normal linux login by key in username and password. i understand this is unnecessary, but i have to ...
1
vote
1answer
34 views

Terminal shows that my user is only a member of its group, but it is not true - how to fix?

I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS). All terminals show that my sudo-able user is only a member of its group: $ whoami norbert $ groups norbert $ id uid=1000(...
0
votes
2answers
70 views

Running a process through SSH command and keeping it alive

I try running a python program on a remote server using nohup as explained in: How to keep processes running after ending ssh session? When I do ssh server -C "nohup prog.py &", the python ...
0
votes
1answer
31 views

Ping works, wireless connected, no stable internet

I'm running into probably a very niche issue here, but bare with me: I have an old (2014) laptop that I've converted into a linux desktop at home. Mostly for storing extra stuff over scp. Today, all ...
0
votes
1answer
45 views

Install OpenSSh from source on ubuntu 16.04 [duplicate]

i want to install openssh from source on Ubuntu. i downloaded the source ./configure make sudo make install but with this last command, i get the following error: (cd openbsd-compat && make)...
0
votes
0answers
20 views

Error while trying to connect via SSH

After running the command: ssh -p 8101 karaf@localhost I am getting an error: ssh_exchange_identification: Connection closed by remote host How should I proceed?
0
votes
1answer
23 views

SSH, Webmin, etc. stopped working after CPU upgrade

I upgraded the CPU in my home server: i3-3220T -> E3-1265L V2. The upgrade was succesfull, the server started proerly, however some services stopped working. I cannot use SSH now. I checked the ...
1
vote
1answer
21 views

Can't SSH into Ubuntu server from any machine

I have an Ubuntu server running which was working fine till now. I can't SSH into the server and get the following error: Connecting to user@10.10.0.6... OpenSSH_7.8p1, OpenSSL 1.0.2k 26 Jan 2017 ...
0
votes
0answers
24 views

Linux Container SSH Connectivity Issues to Virtualized Cisco IOS Device | “Permission Denied, Please try again”

Issue:root@NetworkAutomation-1:/etc/ssh# ssh adam:@192.168.0.1 IOSv is strictly limited to use for evaluation, demonstration and IOS * education. IOSv is provided as-is and is not supported by Cisco'...
1
vote
2answers
53 views

How do I setup SSH key based authentication for GitHub by using ~/.ssh/config file?

I am trying to set up my SSH keys for GitHub and created a new SSH key for the same. I have managed to setup the SSH key but I wish to retain these settings and save them in the configuration file ~/....
0
votes
0answers
19 views

How to successfully exit after deleting a VM sitting in the VM

I have a very specific problem. Using paramiko client i am deleting a VM sitting in the VM. It does it task but after deletion i want to come out of the VM to the host server. But its hanging for ...
0
votes
1answer
12 views

How to proceed further in Ubuntu Core after configuration?

I have installed Ubuntu Core on KVM using This link And I have also added the SSH keys on my Ubuntu SSO account. And now this screen is shown: The screenshot after the configuration But how do I ...
0
votes
0answers
19 views

gnome-keyring asks for “unnamed” key instead of real name

Whenever I try to ssh into a server for the first time, a GUI popup asks for the key password: An application wants access to the private key "Unnamed", but it is locked: When we look at the ...
0
votes
1answer
75 views

Having “PAM adding faulty module: pam_winbind.so”, “… pam_kwallet5.so”, “… pam_kwallet.so” on start of smbd, ssh, cron daemons - why and how to fix?

I'm using Ubuntu 16.04.5 LTS. I tried to read my log files for errors. The most interesting are the following: cat /var/log/auth.log | egrep "unable|faulty" Nov 25 13:25:13 localhost su[4491]: PAM ...
1
vote
0answers
18 views

sshfs “reset by peer” after new installation of server OS

I'm trying to mount a drive from my work PC to my home PC using the command below: sudo sshfs -o allow_other home_username@home.ip:/ /mnt/home-pc This command was working fine before. However, I've ...
1
vote
1answer
23 views

Cannot export PS1 over SSH

Trying to customize shell prompt on a Ubuntu 18 LTS server over SSH. On the server, the .profile sources .bashrc correctly, and .bashrc has force_color_prompt=yes uncommented. The prompt is not ...
0
votes
1answer
44 views

How to open remote folders in Dolphin

We have multiple repositories on our server, that we can only compile and run on that server. I have a XUbuntu machine and on Thunar I mount the remote folder with ssh://myname@server.domain. Then, ...
0
votes
1answer
22 views

is there a putty replacement that supports diverse colors? (over 4bit) [closed]

putty seems to support only 3bit(8) colors while vim's default colorschemes seem to be 4bit colors. so with only 3bit colors it's sometimes even unreadable. is there any replacement that supports more ...
0
votes
0answers
24 views

How to set up JAVA_HOME when connect through ssh and using Bourne compatible Shell? [duplicate]

Java developers require the JAVA_HOME environment variable set in /usr/local/java8 in their environment when they connect through ssh and log in using a Bourne compatible Shell. As such, a readonly ...
0
votes
0answers
38 views

SSH to home ubuntu, from different network

I have ubuntu 16.04 laptop, And I want to ssh it from a different network. my router is tp-link AC750. I enabled port forwarding, as in the image I found my public ip address using google and tried ...
0
votes
1answer
38 views

How to log all ssh sessions?

I'm Ubuntu 18 user for some days. Previously I used Putty in Windows and it logs all my commands in SSH: Documents/Logs/2018-11-01_20-00-03_sshserver.log etc. Now I need to setup logging in Ubuntu ...
0
votes
0answers
37 views

Ubuntu Server SSH 16.04 “no route to host”

I have a fresh install of Ubuntu server 16.04, I have setup static ip I have set up ssh, I can connect from LAN fine, but whenever I try and connect externally I get error "failed to connect to 81.159....
0
votes
1answer
60 views

Setting up a kubernetes cluster on Ubuntu 18.04

I'm doing this tutorial on creating a kubernetes cluster on Ubuntu 16.04 (I'm using 18.04 but there is no tutorial on that version yet). I finished the first three steps and everything went fine. I'm ...
0
votes
0answers
16 views

Problems with sftp in Dolphin/Konqueror

I have a problem logging in to a remote server as root in Dolphin. Situation: I have an id_rsa Keyfile and can login with ssh as a normal user and as root without entering a password. I can also ...
0
votes
0answers
18 views

SSH terminal freezes when left idle

I'm using Ubuntu 18.04 (for both my local machine and my server) and the terminal freezes when I come back to an open SSH session after leaving it alone for a while. I have to close the terminal ...
0
votes
2answers
32 views

Run a program background even close the ssh connection [duplicate]

I connected a machine via ssh and ran a programme. It took too long to run the programme and I have to turn off my local machine. How can I run the programme background even close the ssh connection? ...
0
votes
1answer
51 views

Limit root login by IP Address? [duplicate]

Is there a mechanic to let me limit SSH and telnet logins to the root account based on IP address? I have 3 nets used for different things locally all in the 192.168.x ranges, I need to login from ...