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

learn more… | top users | synonyms (1)

3
votes
3answers
72 views

Can't Use SSH Keys Unless Running SSH With Sudo

For some reason I'm unable to SSH from my Ubuntu 15.10 machine to a remote server using a private key if I run ssh without sudo. Server side config is fine. I have tested the private key from my ...
3
votes
1answer
48 views

Why does auth.log warn of a possible break in attempt?

I have a server which receives backups from a remote server via rsync authenticated by ssh-keys. The rsync comes via a ddns URL, to a high numbered forwarded port. The sending server is on a normal ...
0
votes
0answers
49 views

SSH: Torch-Lua Script Unexpectedly Stops

I'm trying to run a Torch-Lua script on the luajit interpreter by using SSH on a remote (Ubuntu 14.04) machine. It runs only for two iterations and displays all the outputs accordingly, but, as soon ...
1
vote
1answer
93 views

Command after apt-get install is not executing in script

I wrote a question on Server Fault, but I guess it's more applicable for this community. I'm writing a script which is meant to initially set up my Droplet. In the script, I'm opening SSH connection ...
0
votes
0answers
34 views

How can I ssh to a server after running sshuttle?

I ran sshuttle on a server to Nat all of it's traffic behind a proxy server, so in this way I can hide it's IP address. But the problem is that I can not SSH to the server, as SSH will be behind the ...
0
votes
2answers
44 views

how do I access linux machines by name on the network?

I run a home office and I have a number of linux boxes and mac machines. I'd like for people to be able to ssh into the various machines without having to remember each machines ip, by using the ...
0
votes
1answer
45 views

Running SSH and Samba servers simultaneusly

I have both servers installed and configured on a computer. (The reason I'm not content with SSH alone is that I've not been successful generating and using key files in Android.) However it seems ...
1
vote
1answer
38 views

Ubuntu SSH & HTTPS Connection Issues after OS update

So yesterday everything was working great. My Ubuntu 14.04 was updated with linux-image-extra-3.13.0-85.129 update. When I start the computer this morning, I noticed that I can no longer SSH to my ...
0
votes
0answers
31 views

Allow winscp/filezilla through iptables and fail2ban

I just launched a website within my school community and woke up this morning to logs of someone trying to bruteforce into my server. I followed some guides on digitalocean to set up fail2ban and ...
-1
votes
1answer
43 views

How to run a command on remote host from a service? [closed]

I have a service in '/etc/init.d'. In that service, I run a command on a remote machine using ssh as a user. Currently I do this in the following way: sudo -u user bash -c "ssh user@172.21.6.70 '...
0
votes
3answers
68 views

Shortcuts to SSH clients

I have many remote machines I need to log in. I need somehow store connection parameters because it is too boring enter them manually. Also I prefer to store password in these shortcuts. Software ...
1
vote
1answer
71 views

ssh:permission denied,please try again

I am having two laptops both having ubuntu 14.04 LTS and they have wireless connection. When I try to access other system,it says permission denied,try again.What to do? The following after I type ...
0
votes
0answers
71 views

Using filezilla to connect to vsFTPd

I'm running Ubuntu on a instance on the university server. I've installed vsFTPd and added a new user. I now want to connect from my laptop with Filezilla. At home it works fine with the ip-address ...
1
vote
2answers
49 views

juju no route to host

I have set up a system as described below. A server connected to the internet(192.168.16.250) and also to a switch(10.1.1.100). I have nat configured on the switch facing interface and can access the ...
1
vote
0answers
20 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 ...
0
votes
2answers
47 views

SSH Setup and Key Generation [closed]

I am referring to the following tutorial and following the below steps: SSH Setup and Key Generation SSH setup is required to do different operations on a cluster such as starting, stopping,...
0
votes
2answers
71 views

SSH connection trough NO-IP refused

I'm running a little server at my home. As you can imagine, my IP address is dynamic. In order to get a static hostname, I'm using the services of noip.com; I've created a hostname in the website and ...
0
votes
0answers
59 views

SSH Into Local Machine Over WiFi and Access To Internet

I have two computers (running Ubuntu 14.04) connected to a home wireless router. I want to login to my laptop, from my desktop, while at home using SSH. Normally I set my laptop to connect to my ...
1
vote
0answers
24 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
1answer
53 views

Can I set a computer name alias for ssh connection?

I work with several ubuntu servers and I connect to them from my mac by terminal (ssh). On normal workdays I have up to 10 terminal windows running to distinct servers. The problem is that I easily ...
0
votes
0answers
78 views

Randomly refused ssh, xrdp, vnc connections in Ubuntu 14.04.4 server

its my fist post in this awesome forum. Im having a problem in a dedicated HP proliant server with a fresh Ubuntu 14.04.4 installed. I dont know why it seens to randomly refuse all attempts of ...
0
votes
0answers
86 views

SSH connections cause memory leak in kernfs

I have an issue with my Ubuntu system where memory is leaked each time an ssh connection is opened and closed. I found that the root cause is that after an ssh connection nodes are created and left ...
0
votes
2answers
44 views

Cannot delete /etc/init/ssh.override file from ubuntu touch

I have installed Ubuntu Touch on Nexus 4, and I am loving it. I want to ssh into my phone using password, so I would like to delete the ssh override file, which is /etc/init/ssh.override However, the ...
0
votes
1answer
40 views

Large number of ssh failures in message log?

I just looked at the message log vi var/log/message2 I am getting a huge number of failed ssh attempts from China, e.g. Mar 27 06:30:42 xxx sshd[10628]: PAM 2 more authentication failures; ...
1
vote
1answer
104 views

ssh: connect to host myhostname.ddns.net port 22: Connection refused

I have recently setup a local machine and a laptop, using noip.com, so that I can access the local (host) machine, via my laptop whilst I'm away on a trip - see my previous question here Everything ...
0
votes
0answers
45 views

Ubuntu-sdk does not connect to emulator or emulator does not boot properly

I'm trying to learn how to make scopes using the ubuntu-sdk. However, I can't make the emulator work properly, so I can test my work. When I run the scope, the SDK/QT-Creator launches an emulator. ...
1
vote
0answers
53 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
1answer
52 views

Issues with grub menu timeout

I recently installed xubuntu 14.04 on my desktop. The desktop has only one drive containing xubuntu, and I often restart the machine from ssh using the command sudo reboot now. However, every other ...
0
votes
1answer
63 views

UFW rule doesn't work

At first enable the ufw status. root@sai:~# ufw status Status: active It blocks both incoming and outgoing connections, tested by using ping ssh from both sides not working. root@sai:~# ping 192....
0
votes
0answers
26 views

Restricted logins to a specific IP address, seems my IP has changed and now I can't log in. Any way around this?

So I have a dedicated server from Kimsufi.com running Ubuntu 12.04 and I had restricted logins to a specific IP using AllowUsers in the sshd_config file. I restricted all account logins on my dedi to ...
3
votes
2answers
56 views

Why is /etc/default/locale not sourced at login via ssh?

I'm not a newbie, yet I've been battling this apparently easy issue for a while. I know how to work around it using /etc/environment or other tricks but I want the vars in /etc/default/locale to work ....
0
votes
0answers
122 views

SSH to Beaglebone Black is not successful sometimes

I have the latest version of UBUNTU installed on my computer and the latest version of Debian on my BBB. No problem using puTTY to connect my Windows machines (10, 8, even 7), but when I try using SSH ...
0
votes
0answers
23 views

Saving X11 when logging in another account

My problem is I can't use Graphical X11 when I go to other user account through sudo su - some_user. So, firstly I connect to the remote host using the following command: ssh user1@host -P port -X -...
3
votes
3answers
2k views

What is wrong in my SSH key generation?

I'm trying to generate a new SSH key: $ ssh-keygen -t rsa -C "newkey" Generating public/private rsa key pair. Enter file in which to save the key (/home/z/.ssh/id_rsa): newkey Enter passphrase (empty ...
-6
votes
1answer
25 views

Running AWS EC2 [closed]

have a trouble with connecting to ubuntu instance in AWS EC2. Connect through SSH client, but there is an error: port 22: no route to host. How i can solve that problem?
5
votes
1answer
53 views

Is it possible to ssh between two different network?

Thanks in advance. Do I want to know that,how can we ssh between two different networks? Scenario: My home PC IP : 192.168.1.106 Home public IP: XXX.YYY.ZZZ.254 My office PC IP: 192.168.10.130 ...
1
vote
5answers
219 views

Editing files on server through SSH

I'm working on a web application and all of it's files are on a linux server, which I am accessing through SSH. Is there a way to edit these files in a text editor other than vim or nano through SSH, ...
0
votes
2answers
97 views

Can't boot Snappy from SD card on Beaglebone Black!

I've downloaded snappy image to Beaglebone Black: ubuntu-15.04-snappy-armhf-bbb.img.xz. I wrote the image to an SD card, I booted Beaglebone from the SD card, but I can't find the Beaglebone in my ...
0
votes
0answers
38 views

SSH Raspbian(Pi ) using Ubuntu 15.10

I am trying to SSH the raspberry pi using terminal. i have gone to the cmdline.txt file in the pi boot folder and added ip=192.168.1.20 (Same subnet as laptop IP) I saw the ip adress in system ...
1
vote
1answer
39 views

I set “PubkeyAuthentication” to no and I am locked out

I am not very familiar with ssh and I am afraid I made a disastrous mistake. There is an old server which used public key authentication. My public key was in the authorized keys, so I was able to ...
10
votes
5answers
6k views

How did SSH connect without Internet?

I have a WiFi router, connected by Ethernet cable to my Ubuntu desktop and Android mobile. I have sshd set up. The telephone-line-in cable to the router was cut. But both devices were still connected ...
5
votes
2answers
2k views

How to securely ssh into a machine at home over the internet

I will be travelling shortly, and I have a machine that run runs a bunch of cron jobs etc. I need to log in remotely to check the results of the jobs run and to do some work on the machine. Here are ...
1
vote
0answers
34 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
1answer
62 views

Ubuntu Desktop as a server. Should I uninstall the GUI? And if, how?

I'm running an Ubuntu 14.04 Desktop version as a LAMP server. Is a big difference between efficiency when the GNOME desktop environment is running? or it is better that I remove desktop and use only ...
0
votes
2answers
40 views

juju ssh public key issue

I have two machines on which one is running a postgresql charm and other is running the charm I'm working on. Now I need to ssh into the postgresql machine to run some database migration scripts. For ...
3
votes
1answer
25 views

Implications of manual server time change

I am running a web server on ubuntu 14.04 (nginx as a proxy for a node application, as well as a go application daemonized using supervisor). I would like to know the implications of manually changing ...
0
votes
1answer
29 views

ssh server unaccessible

I have an ubuntu server (as a NAS) at home. I use an always-on Raspberry Pi to turn the server on when I need it (WakeOnLan). Both the server and the Pi are accessible via the local network. My ...
0
votes
1answer
42 views

SFTP access to other folders

My current server setup with 14.04 includes OpenSSH with SFTP configured: Subsystem sftp internal-sftp Match group ftpaccess ChrootDirectory /mnt/earth/www X11Forwarding no AllowTcpForwarding no ...
1
vote
0answers
22 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 ...
0
votes
1answer
82 views

open ssh connection in background [duplicate]

I've looked at a lot of similar questions about this but haven't found anything to solve my issue. I would like to be able to open an ssh connection to my university's server and keep the connection ...