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

learn more… | top users | synonyms (1)

0
votes
1answer
14 views

How to connect and copy file to Windows 7 system from Ubuntu 12.04 via network using command line?

We have separate Ubuntu client systems and Windows system connected via LAN. My requirement is to copy a file to Windows 7 system via command line using utility like scp. For that we have to run ...
0
votes
0answers
22 views

Problem Connecting To Server (Ubuntu 14.04)

I have a school server that I am usually connecting to using the following command from the terminal: ssh myUserName@my.server.com However, if I try to connect using Network - Connect to Server, I ...
1
vote
0answers
6 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 ...
0
votes
1answer
15 views

resuming SSH sessions

I often end up on the interstate, using a Windows-based laptop to SSH via my cell phone connection into my Ubuntu dev machine. Between the idosyncracies of cell phone connections, plus stopping for ...
2
votes
2answers
1k views

SSH refusing connections after upgrade to 13.04

After upgrading my Ubuntu Server from release 13.04 to 13.10 (do-release-upgrade), I can not connect to the server anymore, SSH closing connections immediately (after sending SSH2_MSG_KEXINIT). It ...
1
vote
0answers
22 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: ...
0
votes
1answer
33 views

E: Package 'openssh-client' has no installation candidate

How to install openssh cilent and server on ubundu 13.04. i tried sudo apt-get install openssh-client on 13.04, but i got this error. i could not install it. mphil@mphil:~$ sudo apt-get install ...
1
vote
1answer
3k views

Connection mystery with ssh

I've run into a problem with ssh that has me completely stumped (and our department IT guy as well): Up until a few days ago I had no problems accessing my files on our departmental server (university ...
0
votes
0answers
9 views

ssh logout cause bash file problem

I have a .sh file which is called by a Node Web Server. In the .sh file I run some commands with my username [name], which is a superuser, without specifying the password. If I'm connected through ...
1
vote
4answers
40 views

sshd_config failure, is there a fallback?

So.. I decided to act like a complete moron and changed the Port to 81234 (which i now realize is higher than 65535), thus I can not login to my SSH anymore. Is there any kind of fallback or default ...
2
votes
2answers
2k views

KDE 4.7.3: how to remember ssh key passphrase in konsole?

I am using latest KDE in Kubuntu 11.10, I have ssh keys added protected by a passphrase which is prompted every time I try to establish ssh connection. In Gnome it would pop up a GUI window where I ...
2
votes
2answers
4k views

How to use rsync via ssh with rsa key passphrases?

How can I use rsync with passphrases? All googled "solutions" i found use passphrase-less keys which seems no real option. i am runnning 2 ubuntu servers 12.04.2 LTS.
0
votes
1answer
48 views

SSH and VPN Cisco connection working on one laptop but not on another. Both laptops using Ubuntu 14.04. Where is the difference?

I'm trying to SSH to our university server using VPN and WIFI connection. The bug is similar to this one, although different in details. The problem is as follows: Me and my colleague are using ...
3
votes
3answers
8k 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 ...
0
votes
1answer
35 views

SSH login using Ubuntu's terminal

I'm using ubuntu system to login to remote server using ssh. SSH is configured in my system and I can see my public ssh key but when I try something like ssh xx.xx.xx.xx it throws error Permission ...
0
votes
1answer
24 views

ssh: connect to host [..] port 22: No route to host

I have two computers in our lab. ssh would work just fine between them. Now, I tried to do an ssh from master node to slave node and it failed. Restarting both nodes did not help. Here is what I am ...
1
vote
1answer
21 views

What is the difference between 'exec ssh localhost' and 'ssh localhost'?

I read man exec output, but did not understand the difference between these two commands: exec ssh localhost and ssh localhost. I tested both commands and did not found any difference. Is there any ...
5
votes
3answers
25k views

permission denied for root@localhost for ssh connection

I just installed Ubuntu 14.04 and LAMP on that. Then, I wanted to configure my server, so tried out This tutorial. When I give the command: ssh root@localhost I get : Permission denied, please try ...
148
votes
13answers
121k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
0
votes
2answers
33 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
2answers
4k views

Unable to execute command start-all.sh in Hadoop

GUYS I'm using this tutorial How to install Hadoop? I mean the one made by Luis Alvarado in one of the comments .. So I'm on Ubuntu 13.10 64bit Hadoop version is 2.2.0 Actually I'm a total newbie ...
79
votes
7answers
111k 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
2answers
24 views

Is it possible to specify a different zshrc file on login over ssh?

I spend all day ssh'ing into servers for work and the remote user is one that is shared by myself and several colleagues so I can't just blindly customise the shell as not everyone will want my tweaks ...
1
vote
2answers
32 views

Ubuntu 12.04 and SSH: Automatically shutting down another computer when powering off

I want to shut down another computer in my network when shutting down my own. For that I have created a script that logs into that machine through ssh and powers it off. (SSH keys are set up, so no ...
91
votes
7answers
125k views

How do I change my username?

Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name ...
2
votes
1answer
55 views

Who is telling me “You have mail”

On a server running Ubuntu 14.04 I see You have new mail in the motd every time I log in via SSH. Q: Who is telling me this? Mail does not find anything, and I do not expect any mails on this ...
1
vote
1answer
35 views

SSH connection refused/error message

I have a setup of systems, where each system has multiple users but only one user is allowed to login to a system at a time through SSH. I am using "passwd -l/-u" command to lock and unlock users, ...
-1
votes
2answers
36 views

SSH to local ip in external network

I know there is a lot of information about this subject but still I do not understand something. We have internal wiifi network that include 4 desktops, each one has internal local ip address. The ...
1
vote
2answers
181 views

SSH Ubuntu Touch

I want to SSH my new Ubuntu phone and tried this instruction but it doesn't work. I get "error: device not found" from every single command.
2
votes
2answers
3k views

Cancel SSH Session to Server

I use SSH to manage a server on my local network. ssh username@192.168.1.210 Which works great. When I am finished in the server I normally just X out the command line window which fires a prompt ...
3
votes
2answers
2k views

Trust SSH server based on key instead of if key+IP match

Is it possible to make the ssh client not care what IP a ssh server is behind (and if a different server was behind that IP earlier) but instead trust specific server keys? (And maybe nickname those ...
0
votes
0answers
39 views

Server at OVH (Ubuntu 14:010) work on SSH and HTTP ONLY from my cellphone(4g)

Hope you'Re all going good. So yeah this is alittle problem i have with the VPS i took at OVH. They say everything is fine in their end. But i managed to install nginx on the server and even then ...
0
votes
0answers
16 views

What remote host allows tunneling thru ssh with public key and password?

I need a virtual desktop that can only be accessed by having the ssh public key and the user password. I was trying remmina but it does not seam to support the dual authentication of public key and ...
138
votes
3answers
46k views

How can I break out of ssh when it locks?

I frequently ssh into my box at home from school, but usually when I change classes and my computer suspends, the pipe will be broken. However, ssh simply locks up - Ctrl+c, Ctrl+z and Ctrl+d have no ...
-3
votes
1answer
20 views

error while using git clone

I'm trying to use git clone to clone a forked project for compiling. The input/output are as follows: preet@Preet-HP-620:~/clones$ git clone git@github.com:Preet23/android_vendor_resurrection.git ...
0
votes
2answers
41 views

How to insert data from text to mysql? [closed]

I get this text from router via ssh. But I want to insert user(fr-XXX) and macadress(F0:24:75:33:22:11) to mysql routerusers table. Flags: M - mac-cookie # USER DOMAIN ...
1
vote
1answer
1k views

Reverse SSH Tunnel Issue

I'm working on setting up an unattended Ubuntu PC with Ubuntu Server 12.04 Minimal, and since this PC will be placed in a remote location with no keyboard or screen (unattended), I need to have a ...
4
votes
2answers
36 views

How to access a RUNNING remote desktop

here is my problem: I have been working the whole day (on my office computer running Ubuntu) on a text document using a text editor (kile) when I came back home, I tried to copy the (newer) version ...
1
vote
1answer
83 views

scp, where did my files go?

I logged in with ssh, into a pc in our lab. I would like to copy a .txt from there, to my laptop in home. So I did: root@hostname:/home/gsamaras/konstantis/cholesky# scp ...
1
vote
1answer
25 views

Packet redirection based upon traffic type

Overview : Is there anything like ufw or iptables that will accept a packet on a port, but then redirect that packet locally depending on the type of packet it is? More info : I have a web server ...
0
votes
2answers
55 views

How do I get openssh 6.9 or greater and Apache2.4.12 or greater on to my 15.04 server?

I am trying to comply with government requirements and need to keep my 15.04 server up to date. Mostly 15.04 has recent packages. Can I upgrade Apache on the command line? I need openssh 6.9 or ...
2
votes
1answer
3k views

SSH installation errors

Please let me know what to be done here. I am trying to install Hadoop in Ubuntu.The ssh connectivity is throwing error $ sudo apt-get install openssh-server Reading package lists... Done Building ...
48
votes
5answers
100k views

How to disable strict host key checking in ssh?

I would like to disable strict host key checking in ssh for ubuntu 11.04. How to do it?
0
votes
0answers
9 views

Set up BOINC through SSH and configure for multiple computers

I want to set up BOINC for SETI@home or other distributed computing projects. I have three or four computers with Lubuntu, but I would like to set them all up through a script instead of ...
6
votes
2answers
3k views

Ubuntu 14.10 server startup

I install just the OpenSSH server on hardware that was running 14.04 Server. Besides the pages of checks the startup goes through, I believe it should recognize scroll lock from an usb keyboard, but ...
24
votes
4answers
36k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
1
vote
0answers
105 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. ...
4
votes
4answers
274 views

How can I redirect SSH users to another SSH login?

I have a person who will need access to my SSH server, but I want them to have limited access to programs. All they should be using is ssh, to login to another server. My server is an access point to ...
0
votes
0answers
8 views

Why am I getting permission denied (error 3) in WinSCP when I'm the only user and it's my home server?

I just setup a Linux home server using this guide http://linuxhomeserverguide.com/ and I am now trying to write to my /var/www/html folder because I want to make a website. I forwarded port 80 and ...
0
votes
0answers
27 views

What systems/remote desktops allow remote unlocking and locking

I have a very good desktop running ubuntu 15.04. I have a 2gb chromebook for developing on the go. The chromebook is not powerful enough to do what I need, so I need to be able to unlock my pc ...