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

learn more… | top users | synonyms (1)

2
votes
0answers
575 views

SSH Connection time out

Whenever I try to SSH my VPS account it says: SSH connection time out during banner exchange. I want to know the reason behind this problem and a solution. My VPS is running Ubuntu 12.04 Server ...
1
vote
0answers
40 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. ...
1
vote
0answers
14 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). ...
1
vote
0answers
49 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 ...
1
vote
0answers
24 views

scp syntax question

I'm having a little difficulty using scp to transfer files from a remote computer. The issue apparently has to do with the name of the directory the files are contained in. They're on a CD drive ...
1
vote
0answers
43 views

PHP not loading ssh2 extension after successful installation

I was getting this error, when running my PHP script to download files using SFTP: PHP Fatal error: Call to undefined function ssh2_connect() I installed the ssh2 PECL extension by running the ...
1
vote
0answers
38 views

Command after apt-get install is not executing in script

I wrote a question on serverfault, but I guess it's more applicable for this commnity. I'm writing a script which is meant to initially set up my Droplet. In the script, I'm opening ssh connection ...
1
vote
0answers
16 views

Tile server performance seemling inconsistant with SSH Launch vs 'Local' Launch

I am setting up a Dell PowerEdge R410 as a tile server (i.e. a server which serves web map images á la Google Maps) and experimenting with TileStache -- a Python application which handles HTTP ...
1
vote
0answers
16 views

How to Show History of Port State/Activity?

Let's say I have an open port on my PC like 6789. I use this port for a special purpose. But, suddenly I found the port 6789 is not listed in netstat -ntlp (port closed). How can I see the history of ...
1
vote
0answers
27 views

fail2ban: how to immediately ban those who attempt ssh userid logins

My OpenSSH server is set up to only allow key based logins. I get many attacks each day from bots trying to login using a userid and password. I have fail2ban configured and running already. How can I ...
1
vote
0answers
30 views

Ubuntu server in VirtualBox: no connection to host

For an assignment I need to host 2 websites using nginx. The default page worked yesterday, now it doesn't (I haven't changed anything significant though) and I also can't open an SSH connection ...
1
vote
0answers
15 views

openconnect: connection destroyed after ls and unable to use sftp

In the past I have used Cisco AnyConnect under Mac OS to connect to a remote system at my uni. This worked perfectly. Now I wish to do the same thing under Ubuntu 14.04, however Cisco AnyConnect has ...
1
vote
0answers
44 views

Troubleshooting Ubuntu via Remote Terminal

In a situation where an unscheduled system reboot occurred on an Ubuntu environment and the only way to access the device is via Remote Terminal. What are some of the things you ...
1
vote
0answers
79 views

Why does remote SSH connection time out?

My server runs Ubuntu Server 14.04. When connecting over SSH from a local LAN client it works fine. When I connect using a different machine from an outside network, I get 'connection timed out'. I ...
1
vote
0answers
126 views

SSH client on Ubuntu 15.10 is not working with public key

I am trying to ssh from my Ubuntu machine to other SSH servers, and also to itself but it is not working with the public key - it always prompts for a password. verbose output from ssh client ...
1
vote
0answers
28 views

Remote Desktop over WAN

I've got a Ubuntu server and an Ubuntu desktop, with about 4-40ms of latency (they are in 2 different buildings, connected via a fiber ring) between them. Both are running 14.04.3, of the respective ...
1
vote
0answers
25 views

Seek and destroy a hanging ssh/sftp session

I am using thunar to access files on a remote PC. However, sometimes the ssh session hangs, and I have to terminate thunar. Then when I try to log back in, thunar just hangs. The only solution I've ...
1
vote
0answers
50 views

audio through ssh/get raw audio from pulseaudio

How to carry audio over SSH? was closed with a reference to pulsaudio, which is not what i am asking. How do I tunnel sound through ssh? I distinctly want a solution using ssh which would work on a ...
1
vote
0answers
59 views

Unable to fix unmet dependencies ubuntu server

i am not able to install some packages, i got this error, i already tried all clean and -f options with apt-get. also tried this Unable to fix unmet dependencies but it did not work for me. Running ...
1
vote
0answers
86 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 ...
1
vote
0answers
56 views

juju openstack juju-bootstrap not working properly

I have configured juju with local and openstack. I followed the following link: http://blog.felipe-alfaro.com/2014/04/29/bootstraping-juju-on-top-of-an-openstack-private-cloud/ for configuring juju on ...
1
vote
0answers
72 views

Cannot connect to Ubuntu using PuTTY after switching Wi-Fi network

I have Ubuntu installed on one of my laptops with the GUI disabled. I installed openssh-server and tried accessing it from PuTTY from my Windows machine and it was working all fine. Later I had to ...
1
vote
0answers
128 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 ...
1
vote
0answers
244 views

Install command line nuget on Ubuntu server

This may be more appropriate for StackOverflow, but I need to be able to compile my mono application on an Ubuntu server via ssh. I would like to have nuget restore my packages. There are several ...
1
vote
0answers
39 views

Allowing sshd on local network without access to internet

I have setup sshd on my server and can access it fine from both my local network and remotely from other networks. I set up port forwarding using a different port than port 22. Port forwarding is ...
1
vote
0answers
32 views

Byobu automatically open windows on boot

I really enjoy using byobu and the launch at login feature. I'm trying to figure out the best way to have a byobu session automatically launch on system boot, with several windows running different ...
1
vote
0answers
44 views

How to create a log of an rsync transfer on the remote server?

I have a lovely functional bash script, which uses rsync to create a backup on a remote server, utilising key-based authentication. It uses a standalone rsync command, rather than having to set up ...
1
vote
0answers
27 views

Recursivly resolve aliases for tor hidden service with ssh

I run a couple of raspberry pis with hidden services on it (for remote access via SSH). I used to use a .ssh/config to get nice aliases for the hidden services. Something like: Host *.onion ...
1
vote
0answers
42 views

Override default 'HOSTALIASES' behaviour

I followed the method of creating my own custom hosts file as suggested here in this answer. It works fine. But the problem is it expects your public and private keys to be in the ~/.ssh folder with ...
1
vote
0answers
137 views

Can't SSH to EC2 instance after Ubuntu upgrade

Summary: I have Ubuntu 12.04.3 LTS server running as an AWS EC2 instance. Using do-release-upgrade, 14.04.3 is installed without any problems. But after that I can't SSH into my instance. Both my ...
1
vote
0answers
30 views

Stopped accepting connections from outside the local network

I have multiple services running on the server: https/XMPP/SSH. I have logon to the http server over the WAN once today but now nothing is able to connect. Now I'm at home and I've tested it again, ...
1
vote
0answers
38 views

ssh hangs if remote machine is switched off

I want to log the status of a particular interface in my remote machine periodically. The following code does the job. #!/bin/bash while [ "1" ] do ifconfig usb0 &>/dev/null if [ ...
1
vote
0answers
69 views

Reboot Into Command Line - SSH

I'm using Ubuntu 15.04 I am working on my machine remotely via SSH - I am trying to install some ATI drivers for my graphics card however I need to run the installation without an X server running in ...
1
vote
0answers
66 views

Wrong home dir in sftp

I set up an sftp server with openssh but when I connect to it I cannot browse my folder. The answer to pwd command is: / and to ls command is: remote readdir("/"): Permission denied [added after ...
1
vote
0answers
180 views

No GUI in Ubuntu 14.04.2 after attempting to install Ark Server

I was attempting to follow this guide on how to set up an Ark Survival Evolved Server (including the bits recommended on Steam's website). I now get a black screen with no access from the Ubuntu ...
1
vote
0answers
54 views

Lock user screen with custom full screen image and prevent unlock using ssh

I want to connect to a computer using ssh, lock the computer's screen by displaying a full screen custom text/image and prevent user from doing anything until I unlock the screen again using ssh. How ...
1
vote
0answers
88 views

Ubuntu machines cannot connect to each other on the same network

I'm having trouble with Ubuntu machines not cooperating on my home network. The network structure is VERY simple. It's simply two Ubuntu machines (one running XBMCbuntu on 14.04, the other Ubunutu ...
1
vote
0answers
341 views

why can't I ssh into my aws ec2 instance? Permission denied (publickey)

I created two ec2 instances, and was able to ssh into the first two fine. After creating the third, I get this error upon trying to ssh into any of them. This is what I'm running: ssh -v -i ...
1
vote
0answers
665 views

How to use redsocks to redirect all internet traffic to ssh tunnel?

I have an OpenWrt router with the IP of 192.168.1.1 and I wanna redirect all the internet traffic to my ssh tunnel, this is the ssh command that I use: ssh -o "ProxyCommand corkscrew 127.0.0.1 3339 ...
1
vote
0answers
62 views

Weird bug with SSH, Unison and Samba?

I am running two servers, one at home (Server 1) and one at the office (Server 2). Both of these servers run a couple of Samba share directories which are synced every 30 minutes with Unison - the ...
1
vote
0answers
81 views

ssh stopped working due to roaming

I've got an openssh sshd/client installed on my laptop, but I can't connect to any servers from this machine. whenever I try to, it just hangs like so: ...
1
vote
0answers
555 views

ssh connection to xxx closed by remote host

I have a admin server A which have root ssh trust for all other servers, and A can ssh most other servers without password, but for server B, it always says connection to B closed by remote host. ...
1
vote
0answers
75 views

Playing Rhythmbox through SSH

I am trying to start Rhythmbox by remotely accessing my Ubuntu 15.04 machine through SSH. Problem is when i create a new instance of Rhythmbox and play it, it works fine. Here is how i am doing it. ...
1
vote
0answers
132 views

chromium browser remotely launched error

I logged into a remote server using the -X option in the ssh command. After trying to open the chromium browser i get the following error: $ chromium-browser Gtk-Message: Failed to load ...
1
vote
0answers
133 views

Reverse DNS Lookup on ubuntu inside virtualbox

I'm using Ubuntu 12.04 inside virtualbox on win7 using NAT for networking. I had to run the command : VBoxManage.exe modifyvm "Ubuntu" --natdnshostresolver1 on Which basically tells the guest to ...
1
vote
0answers
153 views

Why does ssh prompt me every time for the passphrase when ssh-agent is running?

After reinstalling Lubuntu Vivid Vervet on my computer, whenever I try to ssh into something, it asks for my passphrase. Before the reinstall, it would give me a graphical prompt for my passphrase if ...
1
vote
0answers
108 views

Connect To Lubuntu Server Via SFTP From Web

I have a Lubuntu machine which I use as my main home file backup. I have a Wordpress blog which I would like to backup using a plugin. The plugin allows backup to FTP/SFTP, so this seems the best ...
1
vote
0answers
567 views

MAAS/VirtualBox Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed and SSH fails

Setup For testing purposes, I installed MAAS in a VirtualBox VM and I want it to PXE boot a second VM. Both VMs are connected to a VirtualBox internal network. The MAAS VM is a Ubuntu Server ...
1
vote
0answers
158 views

Enable shutdown from another computer on LAN without entering sudo password

I'm trying to execute this script from my laptop to shutdown the server without having to enter the sudo password. (Both are running Ubuntu 14.04.2 LTS) ssh -t lachlan@192.168.0.xxx sudo shutdown -h ...
1
vote
0answers
230 views

Can't SSH with Key Authentication

I created an RSA keypair using ssh-keygen on Ubuntu Desktop 14.04.2 LTS ssh-keygen -b 2048 -t rsa -f ~/.ssh/<keyname> -o Than I added the public key to the remote Ubuntu Server 14.04.2 LTS ...