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

learn more… | top users | synonyms (1)

0
votes
0answers
12 views

How to only allow web server access through SSH?

My goal is to have a web server on my PC (running Ubuntu 16.04) that only I can access through SSH. SSH has been nicely set up (as described in one of my previous questions) now how do I make it so ...
0
votes
0answers
19 views

how to enable every(all) ports in debian server

I am new to Linux. I opened a ssh connection for enabling SMTP port 587. I have inserted a command sudo iptables -A INPUT -p tcp --dport 587 ACCEPT And I have saved this iptables file. Made this ...
0
votes
0answers
15 views

ubuntu 14.04 using ssh tunneling to connect to remote server

After searching through internet, I could not find article explaining how to use SSH command shell with tunneling. What I need is exactly the same shell, like we have when using ssh command: ssh ...
0
votes
0answers
8 views

disable cellular data by using commands,

Anybody, please help us to find out the ssh commands so we can disable cellular data for our m2m data, we do not want to do it from web ui so looking for command line?
46
votes
8answers
298k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
1
vote
1answer
18 views

Agent admitted failure to sign using the key

After a fresh ubuntu install, it seems I can't use any bzr branch commands. I get the following error: Agent admitted failure to sign using the key. Permission denied (publickey). ...
0
votes
2answers
9k views

SSH to network alias ssh_exchange_identification: read: Connection reset by peer

New install: Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-45-generic x86_64) I have no problem with SSH to the DHCP address .22, but when I try the alias address .80 the connection is reset by peer. I've ...
0
votes
0answers
12 views

FireFox, ssh tunnelling not working

I have Ubuntu 14.04 installed on a virtualbox vm. Set up ProxyCommand and it seems to work fine in order to connect my jumpbox before connecting to server1. So from localhost I connect to Jumpbox the ...
0
votes
3answers
11k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
5
votes
2answers
43k views

SSH Permission denied (public key), but root ssh works

I'm trying to setup ssh access for a user account that I created with chef on a digital ocean ubuntu 12.04 server. I had the options set in digital ocean to automatically copy my mac's ssh key when ...
5
votes
3answers
6k views

Disable interactive SSH at user-level

I connect to a server I don't control via SSH. I use public key access and don't need to be able to connect with a keyboard-interactive password. I would like to disable keyboard-interactive access ...
21
votes
6answers
3k views

Personal computer hacked: How do I block this user from logging in again? How do I find out how they are logging in?

I am 99.9% sure that my system on my personal computer has been infiltrated. Allow me to first give my reasoning so the situation will be clear: Rough timeline of suspicious activity and subsequent ...
0
votes
0answers
14 views

Knockd not recognizing knocked ports Ubuntu Server

I've got a server with knockd running. When ports 7000, 8000, and 9000 are hit, knockd is supposed to insert a rule into my iptables firewall and allow the connection to reach a port (22). For some ...
3
votes
3answers
6k views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
0
votes
2answers
4k views

Putty Login error through SSH (Network error: Connenction timeout)

I am trying to login into one(X) server using putty (port 22), it is showing Fatal Error. In Pop-up (Network error: Connection timed out). But when I am in different server(Y) on command prompt using ...
3
votes
3answers
44 views

Cannot connect remotely using ssh

I have recently installed an ubuntu 16.04. I have installed ssh server and the sshd service is up and running. I have some other PCs in the same network (windows, mac, ubuntu 14.06) and I can ping ...
1
vote
0answers
8 views

How to set up X11 forwarding in byobu inside a LXC container

I currently SSH into a LXC container running in a Ubuntu host machine. I have managed to set up X11 forwarding from the container to my local machine but when I start byobu (inside the container) the ...
1
vote
1answer
30 views

SSH connection timed out externally, but works internally

Recently I tried to set my Ubuntu 14.04 desktop computer (I will call it "computer A") as a ssh server so I could access it remotely from my laptop (I will call it "computer B"). I installed ...
9
votes
2answers
16k views

“This account is currently not available” error when trying to ssh

An error occurs when I try to make SSH connection: $ ssh -p 22 www-data@x.x.x.x This account is currently not available
0
votes
1answer
25 views

How to connect via ssh and use gcc on target?

I would like to do two things automatically within a bash script: Connect via ssh to my target. Execute gcc. My script looks like this: ( echo "cd myfolder" echo "gcc -o mybin ...
3
votes
1answer
45 views

Automating SSH login gives unresponsive remote-shell, dropping back to client-terminal (without errors)

I have a problem with the tool expect under Ubuntu 14.04 LTS. I want to automate ssh logins to some Sophos UTM Firewalls and evelate my rights directly after with "sudo su -" and the correct password. ...
1
vote
0answers
17 views

Cant SSH to remote server trought VPN

Currently am running Ubuntu 16.04 with installed and configured CiscoAnyConnect VPN. When I connect to VPN, I can't ssh to remote servers. SSH is just standing and nothing is happening. I can ping ...
0
votes
1answer
44 views

Cannot SSH into server from one particular computer (connection closed/did not receive auth string)

I'm having trouble using ssh to access a server that I recently set up with 16.04, but only from a specific computer (my laptop). When I run ssh -vvv -p sshPort user@host, I get this output: ...
94
votes
3answers
182k views

How do I configure a new Ubuntu installation to accept ssh connections?

I just installed Ubuntu. How do I set it up to allow me to ssh into it? Right now I get "ssh: connect to host x.x.x.x port 22: Operation timed out".
8
votes
1answer
63 views
+100

How to ensure user separation on an old school shell server

I want to run an old school shell server for a couple of people, ie. one where users get ssh access so they can run software (their own or provided). My concern is appropriate separation between ...
0
votes
0answers
11 views

Apache2.4 PHP 5.6 Ubuntu 15.10 No Input File Specified

I am running a VPS with Ubuntu 15.10 using Apache 2.4 as my web server and I am kind of new to servers and stuff but I am currently creating an API. I first did this on my localhost. This worked ...
1
vote
1answer
4k views

SSH: Permission denied, please try again. While tryng to connect to remote 12.04 server

I'm having quite the head ache because of this. The day before yesterday I rented a VPS at atlantic. They provided me with vnc and root's ssh credentials. I could only login through a VNC viewer ...
0
votes
0answers
8 views

Can I use a UDP connection for the “Connect to server” option in file manager?

I work a lot on remote mashines and like to bookmark them in my file explorer using sftp://user@host/initial/dir syntax. In unstable networks, this connection keeps breaking off an I have to ...
75
votes
11answers
77k views

How to harden an SSH server?

What measures can/should I take to make sure that security around my SSH server is absolutely impermeable? This will be community wiki from the start, so lets see what people do to secure their ...
0
votes
2answers
33 views

How to expose ssh to the internet?

I run the search on google and ALL I can find is a bunch of nonsense about how dangerous it is to do this with only a password...followed with a link to the instructions on the ubuntu website for ...
0
votes
0answers
18 views

Check status progress on running rsync

I have started a rsync task via terminal on my local ubuntu machine to copy files from one local HDD to another local HDD with the command rsync -a --progress source destination. Hence I am able to ...
0
votes
1answer
37 views

Send ZFS snapshot to remote machine

Edit: This question originally focused on the issue of reversing the direction of the ssh connection on the transfer, but I came to realize that wasn't what was causing the problems I run into, so I ...
0
votes
0answers
9 views

Autossh fork after entering password

I have an SSH tunnel that I run with autossh to keep it going reliably. The only issue I have is that I have an encrypted private key which I use to connect. If I want to fork my process to the ...
2
votes
2answers
1k views

Unable to ssh remote unlock encrypted ubuntu server 15.04 using dropbear/initramfs

So I'm trying to set up a brand new Ubuntu 15.04 headless server with full disk encryption and remote unlock capabilities. I've done this successfully on a raspberry pi running Raspbian-Wheezy, and ...
3
votes
3answers
10k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
1
vote
0answers
79 views

sshd in Ubuntu 16.04 - login takes very long

I've seen ssh logins take some seconds many times before in the past. I always found that inappropriate. After I reinstalled my workstations with Xubuntu 16.04, this effect became really disruptive. ...
0
votes
0answers
14 views

MPI-programm tries to access via ssh(?)

I got an MPI code which I can't get running. All needed libraries are installed and compiling works with no problem. But when I start the code mpirun -n 2 ./a.out the terminal freezes after some ...
0
votes
0answers
7 views

Use vpnc For Specific URL And Port

I'm on Ubuntu 14.04 and I use vpnc client to connect to a client's network. However due to this all of my traffic (web browser, streaming, skype, etc) gets routed through the VPN even though I only ...
0
votes
0answers
34 views

HDMI screen gives “no signal” but VNC screen shows window manager correctly

My Ubuntu 12.04 kernel is running perfectly fine and even the desktop shows in all its glory when I connect via a VNC client from my Mac. It even recognizes my HDMI monitor that is physically plugged ...
1
vote
1answer
20 views

can't ssh into remote machine using blowfish

I have a remote machine I need to ssh to using blowfish encryption. I set everything up on my laptop on my previous distro and I have in my config file setup for blowfish. Today I install Ubuntu Gnome ...
4
votes
3answers
2k views

How do I disable gnome-keyring ssh integration?

I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do ...
1
vote
1answer
198 views

Can not install openssh-server on Ubuntu 16.04

As a fresh new install of Ubuntu 16.04 sudo apt-get install openssh-server outputs Also it is a fress install I could not understand why this happens. dpkg -l openssh\* Output is If ...
3
votes
3answers
720 views

Ubuntu 16.04 ssh: sign_and_send_pubkey: signing failed: agent refused operation

I just upgraded my Ubuntu System from 15.10 to 16.04 by completely wiping the Ubuntu 15 partition from my system. After installing Ubuntu 16.04 I recreated my ssh keys as I forgot to back them up, ...
232
votes
12answers
369k views

How to get bash or ssh into a running container in background mode?

I want to ssh or bash into a running docker container. Please, see example: $ sudo docker run -d webserver webserver is clean image from ubuntu:14.04 $ sudo docker ps CONTAINER ID IMAGE ...
1
vote
1answer
7k views

“PTY allocation request failed” error when trying to connect using SSH with ControlMaster

I'm trying to log into Ubuntu desktop. I get the following error message: PTY allocation request failed What does it mean and how to connect to my desktop? This is the output with -v: debug1: ...
-2
votes
1answer
27 views

Not able to ssh as root on 14.04.2

I have done all the workarounds, yet, I am still not able to ssh as root. I have already modified PermitRootLogin to yes, and I have reset ssh services. I have even rebooted the VM, but it is just not ...
6
votes
4answers
3k views

SSH keys not working

I'm using ssh-keygen to generate a key on Ubuntu 10.10, then using ssh-copy-id to copy the key to two remote machines that are running 10.04 (one desktop, the other server). But here's the thing: I ...
1
vote
2answers
293 views

14.04 - VPN established but ssh kills it

I have 14.04 LTS installed on my laptop (VMWare image) and I establish a VPN connection to my home. All that works fine, but when I want to use ssh on my laptop the VPN connection dies immediately. ...
1
vote
0answers
15 views

How to export the gui of an already running program to the remote computer via SSH? [duplicate]

I have pycharm on my desktop and I would like to access it from my laptop over ssh without having to close pycharm on the desktop (since I frequently have long tasks running). Currently, I am able ...
0
votes
1answer
30 views

xrdp on ubuntu server

I have set up xrdp on my ubuntu server 15.10, with mate desktop environment and it all works fine and dandy. Except for when I enable UFW. I have the following ports allowed all tcp 2222 (ssh) 3389 ...