Questions tagged [ssh]

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

1,810 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13
votes
2answers
4k views

SSH into Ubuntu over Serial port

I have connected to my Ubuntu box using its serial port on windows(using putty connection is working fine.) According to the question https://serverfault.com/questions/892892/how-to-use-ssh-over-...
9
votes
0answers
3k views

Vnc using Ubuntu 17.10 with Wayland

I was wondering if anyone could give an update on the state of vnc in Ubuntu 17.10 with Wayland, and if it is possible, some instructions on how to set it up. The vnc documentation on the Ubuntu ...
8
votes
1answer
1k views

How can I repair gnome-keyring to unlock my SSH keys automatically after login?

It looks like some recent package updates broke some functionality of gnome-keyring. When using SSH from the terminal it asks me for the password of my SSH private key. Previously the key was unlocked ...
7
votes
2answers
731 views

How to properly invoke motd for SSH connections with PAM disabled

I have configured a nice motd message that shows me lots of relevant infos when I login to my VPS via SSH. As password authentication is disabled in sshd_config I would also prefer to disable PAM as ...
6
votes
0answers
2k views

How to use normal ssh-agent on 18.04?

I am using an 18.04 installation that has been upgraded from 17.10. When it was on 17.10, I pulled the GNOME SSH/GPG agent out, in favour of using the standard, command-line SSH agent. I wrote up the ...
6
votes
2answers
2k views

Why isn't my keyring in Ubuntu working?

I have encrypted my id_rsa with a password. I think Ubuntu has a keyring system which prevents me from inputting password every time I have to use id_rsa, like git push. Sometimes I don't need to type ...
5
votes
3answers
14k views

RSA keys not authenticating

Just trying to get a basic setup of openSSH going on an Ubuntu box to work remotely. Main issue: RSA keys fail auth. ssh DOES work using the password for auth, but I would much rather limit it to only ...
5
votes
1answer
6k views

Prevent SFTP from disconnecting

I am using the latest version of FileZilla (3.9.0.6) to connect to a fully up-to-date Ubuntu Server 14.10 with OpenSSH. When I SSH into the server using PuTTY, the connection never times out. I stay ...
4
votes
1answer
95 views

Why starting any GNOME based program over SSH takes about 30 seconds?

GNOME based programs always take about 30 seconds to start over SSH. Even simplest ones, like gnome-calculator. After said programs start, they run absulutely fine. I am starting SSH session using ssh ...
4
votes
1answer
3k views

SSH freezes at pledge: network

I setup passwordless ssh login. I could connect through ssh and also used sftp. suddenly I could not connect any more and ssh freezed. Server: Ubuntu 16.04 Client: Ubuntu 18.04 ssh --vvv user@host ...
4
votes
1answer
9k views

“ssh_exchange_identification: read: Connection reset by peer” intermittently this error is occurring for Ubuntu 14.04.5

While trying to access my Ubuntu VM, I am facing intermittent ssh connectivity issue. Please note this is an intermittent issue.I have checked /etc/hosts , hosts.allow , hosts.deny files as per ...
4
votes
0answers
3k views

When running any GUI command over SSH: cannot open display: localhost:11.0

Host: Kubuntu Client: Windows 10 with Linux subsystem Goal: I want to be able to ssh into my host machine and export the display for GUIs, such as kwrite or gedit. Problem: I'm trying to SSH from ...
4
votes
0answers
1k views

Can I unlock a brand new user to SSH in without setting password?

I'm following these steps when setting up the user: $ sudo useradd periscope -m -s /bin/false $ sudo su -s /bin/bash periscope $ mkdir ~/.ssh $ # public key gets manually input here $ cat - >> ~...
4
votes
0answers
490 views

Ubuntu 16.04 slow ssh character feedback

I am seeing veeeeeerry slow feedback on remote ssh terminals to a new install of Ubuntu 16.04. E.g., after typing a character it may take 20-30 seconds before it is displayed in the terminal. ...
4
votes
0answers
658 views

Service Command - Why service --status-all and service SERVICENAME status returning different results?

I am connecting to my local VMs via ssh private key. My understanding is the service SERVICENAME status returns the detailed status of the service and the output mentions that the service is 'Active' ...
4
votes
0answers
698 views

Want to run X with startx on :0.0 from ssh (*not* remote X forwarding)

Quick Summary: I want to start an X session (w/ lightweight window manager) connected to the attached display (:0.0) of an Ubuntu machine, by logging into that machine from SSH. Currently I cannot do ...
4
votes
0answers
134 views

Rsync slows up SSH of every user connecting to the server

I manage a 36 core Ubuntu server at work, which is used only by a handful of people. Every time when an user runs a rsync or scp job, all other users on the server experience a lot of typing lag ...
4
votes
0answers
4k views

Error when running “vino-preferences” on Ubuntu 15.10

I'm trying to configure and enable remote login on an Ubuntu 15.10 machine by connecting to it using ssh from Ubuntu 14 machine. On Ubuntu 15.10 machine, I've installed vino using the following ...
4
votes
1answer
935 views

midnight commander freezes on remote file copy over fish/ssh protocol

I'm using midnight commander (mc), version 4.8.1 shipped with Ubuntu. when I try to copy a file from remote ssh server over the fish/ssh protocol, mc freezes at 0%, and I had to terminate it. I tried ...
4
votes
0answers
902 views

Why does `passwd -l` (--lock) also prevent ssh key-based login?

I locked a users password with passwd --lock [userName], the man page and this answers tells me, that a locked password doesn't prevent other means of logins (e.g.: ssh key-based). Quote from man ...
4
votes
1answer
1k views

unlock kwallet at login

before plasma 5 I had my kwallet unlocked at login and it worked well (same password for kwallet as for my session). Now, with plasma 5, it does not work anymore, I think I'm not far from working ...
4
votes
0answers
1k views

Multiple sftp users and access to a /var/www subdirectory

I have some users on my Ubuntu server with vsftpd installed. The server is used as web server and has a shared sftp directory that is accessed by public clients (by giving them the user and password). ...
4
votes
1answer
839 views

udev/dpkg error

I'm getting this strange output every time I try to execute a command through SSH on my VPS (Ubuntu Server 15.04) which doesn not allow me to install anything. Any suggestions ? Job for systemd-udevd....
4
votes
2answers
13k views

Start vino vnc server from ssh client

First of all: I googled all day and tried several suggestions on different forums with no luck The problem: I am not able to start a vnc server on a remote machine through ssh Additional information: ...
4
votes
1answer
6k views

Ubuntu SSH X11 Forwarded Client Very Slow

Running SSH X forwarded session from my Ubuntu 12LTS client to a SLES server results in very slow(seconds per mouse click) GUI app(on the server) performance. Using a windows client from the same LAN ...
4
votes
0answers
1k views

Very slow speed while mounting via SSHFS

My host is ubuntu 12.04. My guest is vanilla 3.0.33 kernel with custom rootfs. I have encountered the subj problem, while mounting host folder on the guest machine via sshfs. sshfs alexhoppus@10.0.2....
4
votes
1answer
393 views

How to close sftp connections made by dolphin?

after using dolphin to connect to a ssh site, for example: sftp://myserver.com and using my user and pass... how can I close that connection so I can log in with another user? It does always auto ...
3
votes
1answer
128 views

Replacing ssh-agent for gpg-agent

I was trying to use gpg-agent as a "drop-in replacement" of ssh-agent. My understanding was that I needed to: add enable-ssh-support to ~/.gnupg/gpg-agent.conf comment use-ssh-agent from /etc/X11/...
3
votes
0answers
273 views

gnome-control-center sharing over SSH: core dumped

I am logged onto a remote Ubuntu computer over SSH (using the -Y option. I am trying to enable screen sharing remotely, so I typed the command: $ gnome-control-center sharing And I got this error ...
3
votes
0answers
316 views

How to prevent terminal title changing after ssh

I use one of the many solutions to set the terminal title: Function in .bashrc: function set-title() { if [[ -z "$ORIG" ]]; then ORIG=$PS1 fi TITLE="\[\e]2;$*\a\]" PS1=${ORIG}${TITLE} } ...
3
votes
1answer
351 views

How can I disable overlayroot via ssh?

I have a remote computer protected with overlayroot. Currently, I write "overlayroot=disabled" in grub boot to disable it until it is rebooted, but sometimes I want to make changes using SSH. Is there ...
3
votes
2answers
170 views

Remap caps-lock to escape: Snap Server

I am on Ubuntu Snap server with no GUI and would like to remap my caps-lock to escape for my terminal sessions. I have tried modifying the /etc/defaults/keyboard to include caps:escape but there’s no ...
3
votes
0answers
554 views

I can ssh to the server but sshfs gives me 'no matching cipher found: client arcfour server aes128-ctr,aes192-ctr…'

I can ssh to the server, but sshfs fails with the read: Connection reset by peer error. I have checked all the cases pointed out in this AskUbuntu question, the user is in the fuse group, ...
3
votes
0answers
866 views

SSH connection not working when connecting from specific IP

This issue has actually been occurring for me for awhile now, however, it didn't "bother" me enough, but is now becoming somewhat of a frustration. I upgraded to 18.04 in May, and since the upgrade I'...
3
votes
0answers
44 views

Samba share on external drive delays SSH logins

I have a Ubuntu Server 18.04 as well as a NAS on my network. The drives on the NAS are configured to stop spinning after a bit of idle time; they take a noticeable time to start up when needed. That ...
3
votes
0answers
737 views

Problems with X-forwarding and nvidia driver for ssh -X

I have just digged out a T430 Lenovo Notepad with a dockingstation. After installing the nvidia-384 driver through Settings > Software ... > Additional Drivers, I got it running on my 2 screen setup *...
3
votes
1answer
2k views

MongoDB ServerSelectionTimeoutError: No replica set members available for replica set name “abc”

I'm an experienced programmer, but a Python, Ubuntu, and Linux newbie. I apologize, as well, if this question would be better in a different forum. I am working on a project in Python using PyCharm,...
3
votes
0answers
2k views

ssh bad configuration option when ssh the bastion server

here is my config file Host * ForwardAgent yes Host com-bastion         Hostname com-bastion         User hanumanth.rao         IdentityFile ~/.ssh/id_rsa.pub         LocalForward 127.0.0.1:11445 ...
3
votes
0answers
804 views

How to use same ssh key after machine format?

I have added my ssh key to many servers as authorized key, But because of some reason, I had formatted my laptop. Now is there any way to assign my previous ssh key to my laptop so that I can login ...
3
votes
1answer
8k views

gtk-WARNING **: cannot open display while running command-line-only script

I'm trying to run several compute intensive python scripts on a server (Ubuntu 14.04.5 LTS) via ssh -Y and tmux. This works fine as long as I don't close the ssh connection. If I do close the ...
3
votes
0answers
1k views

Shell In A Box - Session closed when trying to login

I am trying to use Shell In A Box which implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS ...
3
votes
0answers
657 views

Why do we need re-install tensorflow for each user in server?

I have installed Ubuntu Desktop 16.04 on a supercomputer and it uses for multiple-user using. Let's the name as the suppercomputer is a serverubuntu. In the serverubuntu, I have install tensorflow-gpu ...
3
votes
1answer
161 views

Terminal shows strange characters where is computer name

I have ssh'ed to other computer and terminal showing strange character where is computer name and time. Bash version 4.3.48(1)-release. What should I do to fix that issue?
3
votes
1answer
5k views

How to fix “ssh-agent refused operation” on Ubuntu 17.10?

I installed Ubuntu 17.10 on a machine and created an ssh key. However I am not able to use the gnome keyring to unlock this ssh key, I always get the following error message when trying to connect via ...
3
votes
0answers
198 views

Openvpn client block the connection

I tried to get my rootserver use an vps. I have vps-unlimited and start it with: sudo openvpn --client --config /etc/openvpn/bla@bla.DECB1.ovpn After I used this command, I can not connect to the ...
3
votes
4answers
18k views

SSH Permission denied (using right password)

I am having troubles setting an ssh connection between two laptops of mine. I tried different solutions posted on-line, but nothing worked. Since I am pretty new with SSH, I might be missing something ...
3
votes
0answers
2k views

Cannot SSH locally from Mac to Ubuntu 16.04 Server (running as Hyper-v guest on Server 2012R2)

I've looked just about everywhere for a solution but I have yet to find one. Here's my problem: I try and connect to my Ubuntu Server via SSH from my Macbook Pro within my LAN with: ssh nextcloud@192....
3
votes
1answer
631 views

Bogus characters for “lsblk” but only in terminal, not over SSH?

See screenshots. What's going on here? On the terminal (IPMI console window - it mirrors exactly what's on the screen): Via SSH in to the same box: Locale output for reference: root@ubuntu16:~# ...
3
votes
0answers
109 views

ssh connects but fails to complete unless I pass the -t option

I upgraded a headless system from 16.04 to 16.10 a few days ago. Now when I try to ssh to the system, it connects, logs me partially in, but then hangs before I get a command prompt. For example: &...
3
votes
1answer
1k views

-bash: cd: HOME not set

Today when I logged into my server via SSH as I have for the past 6 months, I now receive this -bash: cd: HOME not set error message anytime I run a command that makes reference to the $HOME ...

1
2 3 4 5
37