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
1answer
14 views

Ubuntu 14.04.5 LTS (Trusty Tahr) — SSH

I am trying to start the ssh service on an install of Trusty Tahr. sudo service start ssh start: unrecognized service sudo systemctl start ssh sudo: systemctl: command not found Is the ...
0
votes
0answers
28 views

SSH connection time out?

I'm using Ubuntu 16.04 and I'm trying to access via ssh from any computer. I've already altered the iptable configurations to accept all traffic from any IP, but I still got "the connection timed out" ...
1
vote
1answer
19 views

How to use GUI In Ubuntu 16.04 Server

I have installed GNOME GUI in my Ubuntu server (Digital Ocean). Now I need to access the GUI. I use putty to connect but Putty Is only used as a terminal (SSH) there are no GUI options on it. so I ...
0
votes
0answers
24 views

SSH close immediatly after Login

SSH close immediatly after Login, i can't login into ubuntu server This is a DUMP after last login. Last login: Mon Nov 12 15:36:13 2018 from SERVER debug3: receive packet: type 98 debug1: ...
0
votes
1answer
18 views

On a VMWare Windows host, I have no host<>VM connectivity, But can SSH from other nodes on the LAN, and VM has WAN connectivity

Steps to reproduce: Install Bionic server VM on VMWare Workstation 15 running on Windows 10. VM is set with manually configured Bridge networking to host physical network adaptor, and also has a ...
0
votes
0answers
39 views

shutdown ssh after certain time (not idle time)

im doing a school project and im asked to shutdown a ssh session after 5 minutes. i´ve searched on the internet and i´ve only found the option to shutdown if the session is idle but i want to shutdown ...
0
votes
0answers
8 views

Unable to operate keyboard within dkpg/apt Package Configuration Prompt

I'm running an Ubuntu 18.04.1 LTS Server VM on Hyper-V on Server 2016 and I connect to it with either the console or an SSH session with SecureCRT, issue happens in both. When I run my apt command ...
0
votes
1answer
36 views

Change owner over ssh with sudo user

I need to copy a file from local to remote server. I am using rsync for this with passwordless connection. I am not able to change permissions for the file after migration. I am using this command. ...
0
votes
0answers
20 views

Running a Torrent Box with Transmission and a VPN

I have tried looking around a lot to find some answers around this topic. My end goal is to run Ubuntu Server on a Hyper-V VM. I want to be able to port forward my ssh ability and also port forward ...
0
votes
1answer
38 views

SSH keeps getting stuck during connection

I have a little problem. My ssh keeps hanging, I cant connect to anything. This is the output I get with ssh -T git@github.com root@luk164:~# ssh -vvv -T git@github.com OpenSSH_7.9p1 Debian-1, ...
0
votes
1answer
43 views

unexpectedly closed network connection

Setup new Ubuntu server. Verified network settings working correctly. Verified the firewall is off. Can ssh locally and telnet locally to port 22. Cannot telnet nor ssh from another machine. Have ...
0
votes
1answer
41 views

SSH connection closed right after login

My server is running Ubuntu 18.04 and I'm having issues with SSH. Every time I log in, the connection is closed immediately after entering the password. Connection closed by 193.xxx.xxx.xxx port 22 ...
0
votes
0answers
12 views

connecting to x11vnc server with remmina (black window shown and disappearing after < 1second)

I'm trying to connect to to x11vnc using remmina on Ubuntu. Each time I try to connect, a black window (remmina) is shown which disappears after about < 1 second. Connecting and seeing the remote ...
0
votes
0answers
16 views

how to configure squid to use ssh tunnel for external sites?

I have a setup where I have ubuntu as squid proxy server at my home. All computers and ipad at my home use that ubuntu as proxy server. Now I want squid to redirect all request to ec2 instance for ...
0
votes
0answers
30 views

Unable to ssh to BitBucket server via port 7999 after Atlassian auto-update

About a week ago, the building hosting our servers briefly lost power, causing the servers to reboot. On reboot, Atlassian evidently decided to upgrade BitBucket, and it no longer works. I cannot ...
0
votes
0answers
12 views

Bypass Squid Auth internally

I would love to go set up a squid server for home use. I searched around on the web, where I found that Squid auth can be bypassed for users. I want to use the proxy externally for myself with ...
0
votes
2answers
48 views

Installing an application on Ubuntu (new user)

I am not familiar with Linux and have a very simple question. Also couldn't find a similar thread. I'm connected to Linux remotely from Windows. Whenever try to install an application, it returns '...
0
votes
0answers
22 views

SSH doesnt update btmp or auth.log when user exists on system

Im not sure if ive encountered a bug or not.... Ive gone ahead and enabled the pam_lastlog.so showfailed in PAM and I can see its running properly when I authenticate to the system. My Issue is its ...
0
votes
0answers
12 views

Adding a OpenSSH key to another host

I can connect with the laptop i use to usually connect to my server, but now i want to be able to connect on whatever computer i use. I want the Key to be on a usb and be able to connect to the server....
2
votes
0answers
38 views

Install xfce4 desktop on ubuntu headless server, for remote desktop (x11vnc)

I would like to install a full xfce4 desktop into my ubuntu 16 dedicated server. I remember accessing the remote desktop with this command years ago: ssh -v ip:port -L 5900:localhost:5900 "x11vnc -...
0
votes
0answers
10 views

SSH Tunnel HeidiSQL in wine?

I want to connect SSH Tunnel with HeidiSQL Can I use SSH tunnel in heidiSQL via wine?
0
votes
0answers
13 views

Ubuntu 18.04 SFTP Group: one user has permissions, the other doesn't

Following this guide I have created a group sftp_users that I use for SFTP access only. I created two users, user1, user2 I then added both to to group sudo usermod -a -G sftp_users user1 sudo ...
0
votes
1answer
39 views

Use Remmina 1.2.0 with SSH tunneling

first of all please apologize me if I'm asking a newbie question. I tried to look for the similar problem but fail to find an answer. I'm using ssh tunnel and remmina client to connect to the remote ...
1
vote
0answers
18 views

“keychain && ssh-add” no longer works in bionic

Ever since moving to bionic, "keychain && ssh-add" no longer seems to work. To be more specific, the commands seem to run without error, "ssh-add -l" even does list the keys ("keychain -l" ...
0
votes
0answers
31 views

I can ssh via port 42043, but not via port 7999 (connection refused)

I have the following setup in my ~/.ssh/config file: Host atlas user dci HostName <redacted> Port 42043 AddressFamily inet GSSAPIAuthentication no I can connect to ...
-1
votes
0answers
47 views

while loop breaks out after one run when tried to create folders in remote server using ssh

while read -r dir; do ssh -q "$HOST" [[ -d "$dir" ]] if [[ $? -eq 1 ]]; then echo "directory is not present creating one" ssh $HOST 'mkdir -p $dir' <...
1
vote
0answers
13 views

Ubuntu client cannot connect to ubuntu server since update but windows client can

I'm the administrator of 3 small ubuntu servers used in our scientific group and I have ubuntu 18.04 on my personal laptop. For the past two weeks I've been unable to access the servers remotely (I'm ...
0
votes
2answers
24 views

“No journal files were found” on chrooted rescue system

I have a remote Ubuntu 16.04 server that I can't reach via ssh after I shut it down and booted it again. I had OpenSSH Server installed during system installation and I never disabled it (e.g. ...
1
vote
0answers
48 views

Ubuntu Core Pi Installation: x509 certificate has expired or is not yet valid

I am flashing Ubuntu core on a Raspberry PI 3. I followed the steps described in the website https://developer.ubuntu.com/core/get-started/raspberry-pi-2-3. When the configuration reaches the profile ...
0
votes
0answers
26 views

Can ssh local but cannot from other computeres

My desktop is a Linux (Ubuntu) machine with ssh server configured. It used to work fine before I moved the desktop to a new network. Now I can ssh into the machine from itself (either by ssh localhost ...
2
votes
1answer
30 views

ssh connection times out

I have 2 Ubuntu servers that I access via their IP addresses, which are named bris (running Ubuntu 14.04) and syd (running Ubuntu 18.04). When trying to connect from syd to bris I get: root@prod:~# ...
-1
votes
0answers
33 views

Control a remote Ubuntu Server using a GUI

I have created an amazon AWS ec2 instance with Ubuntu Server 18.04 LTS on it. As it is my first server environment, I'd like to control it from my (Ubuntu Desktop 16.04) machine using a GUI. I don't ...
0
votes
0answers
39 views

Cannot connect with private key if the public key exists

I'm trying to connect with a specific key on a server but for some reason I cannot connect with my private key if the public key exists next to it. Both clients and servers are Ubuntu 16.04. The ...
4
votes
2answers
411 views

What does identity file type mean in SSH debug messags?

I've been debugging a SSH connection using the following command: ssh -vT user@mysite.com And I got the following messages: debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/...
0
votes
0answers
13 views

Access Ubuntu 16.04 GUI on MATLAB AWS AMI

I launched a MATLAB desktop client on AWS (following this procedure) and I accessed it via PuTTY from a machine running Windows 8.1 (following this procedure). Once I open, I can only see a command ...
0
votes
0answers
20 views

login rejected after release upgrade and reboot

I upgraded a server from 14.04 to 16.04 via ssh. After reboot however, I can't log back in with my username and password combination via ssh anymore. Did it wipe out all the user accounts? Any tips ...
0
votes
1answer
25 views

SFTP Commandline doesn't work

I have an SFTP-Server running. If I connect from my Windows machine using WinSCP I can log in without any problems, but if I connect with the same credentials from my Ubuntu command line, it always ...
0
votes
1answer
45 views

FreeIPA SSH Key authentication only

Basically what I want to do is disable password based login on client machines and only allow authentication via SSH Keys which are taken off our FreeIPA server. The SSH-KEY auth works fine, it's just ...
0
votes
0answers
31 views

‘Connection timed out’ in ssh terminal

At local network, when I'm trying to connect remote server, I see always Connection timed out I logged in to this local network machine using rlogin It looks like some configurations are blocking ...
0
votes
0answers
16 views

Termius Application Not Show

i just install Termius Version 3.2.6 - Released 15 October, 2018 on My Ubuntu 18.10. all already done. but i cant open this app if i click termius on my Ubuntu. please help. Thanks
0
votes
0answers
39 views

SSH and Plex Unavailable After Power Outage Ubuntu Server 18.04

I'm very new to Ubuntu server and have recently set up a server on my home network. It's mainly used for files sharing using Samba and for streaming movies on Plex. A couple of nights ago I was ...
0
votes
0answers
55 views

How to open port 22 with iptables

I am not able to ssh into an ec2-instance. when I run nmap -Pn 10.xxx.xxx.xx I see that instance doesn't have port 22 open I have a security group added to this instance that has a ssh rule added. I ...
1
vote
1answer
54 views

trigger x-gnome-autostart after reboot over ssh

I have a desktop running Ubuntu 18.04 at my workplace, that I sometimes restart over ssh. I have some applications set to autostart, two of which sync files for me (nextcloud and insync). What I want ...
2
votes
1answer
97 views

ssh-add -l Error connecting to agent: Connection refused

I'm using Ubuntu 18 on Windows Bash When i launch Ubuntu I can ssh-add without any problem. Then I connect to a remote server ssh user@address The ForwardAgent doesn't work (git pull, for example ...
0
votes
1answer
94 views

calling ssh alias with sshc strange character appear on remote host

when calling via ssh alias a remote host, strange characters appear ^[[6;3~fhem@UB9:~$ ;3~ -bash: syntax error near unexpected token `;' in .bashrc ### add to .bash_aliases, for differentiating ...
1
vote
2answers
54 views

If I SSH into a server via terminal and start a process to copy files, is it killed after I log out? [duplicate]

And if so, can it be kept alive somehow? (This is not a duplicate question since I did not know that logging out will kill a process. Maybe others also don't and so ask the wrong question. I would ...
0
votes
0answers
12 views

How to setup permissions and SFTP for multiple users working in the same directories?

I have a user john. This is the main user and he has important files in the /home/john directory. Applications on the server are running from this account. John has SFTP access to maintain these files....
0
votes
1answer
30 views

Make sourced .bash_profile works immediately in current ssh session

I use a macOS to connect to an Ubuntu server, after defining new .bash_profile (like upgrading node.js or making new alias), I will have to exit the ssh and login again after sourcing the ....
0
votes
0answers
11 views

Custom SSHD service under no privileged user

Is there a way to run a custom (as in custom config) sshd service on another port as an unprivileged user?
1
vote
0answers
15 views

How do I restrict a specific SSH user to only connect from a list of machines in a specific file?

I have a virtual machine with ubuntu 16.04 and i'm trying to restrict one user to only be capable of accessing the server through SSH if he's connecting from one fo the machines defined in a new file, ...