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

learn more… | top users | synonyms (1)

1
vote
1answer
102 views

piping using ssh without having to relogin for every pipe

I have an ssh connection and I have to send some local files and output to the ssh server. I know I can do this using the following command tar zcf - stuff | ssh user@server 'tar zxf -' I would ...
1
vote
4answers
85 views

When exactly SSH-agent use my private_key to connect remote server?

I need some basics about SSH, because I dont understand some little things that helps me understand the process of SSH connecting. I have Ubuntu server on my virtualbox and Ubuntu desktop on my host. ...
2
votes
1answer
89 views

Strange characters (^[[A) on Cygwin command line when I SSH into a Ubuntu VM

Up arrow produces ^[[A and down arrow produces ^[[B These look like ASCI escape codes. I don't get this problem when I am working outside of the SSH session. Also, when I sudo su in the SSH ...
0
votes
1answer
103 views

motd displayed twice

So here's the deal. I've created /etc/motd.tail as suggested by Ubuntu documentation which should append STATIC content to /etc/motd . However as well as this work, it displays the MOTD TWICE when I ...
0
votes
0answers
96 views

Cannot SSH into running image

I have a cloud setup with Eucalyptus and Xen. Whenever I try to launch an instance, instance gets launched. I can ping the instance with its IP but when I try to ssh into it I get error. Here is debug ...
0
votes
1answer
94 views

Clone Ubuntu with openssh-server, Still asking for password

I have a Ubuntu virtual machine with ssh installed. (Ubuntu 12 with GUI) I clone it and renew the clone IP address. I want that the Master can have ssh to the clone without asking password. I had ...
1
vote
2answers
49 views

Transfer file that keeps changing by having new lines appended

So I have a windows computer that is continuously collecting data for a physics experiment. The data is saved in a text file for which each new event is appended in a new line. Every-time I need to ...
0
votes
0answers
190 views

How to connect to Amazon EC2 desktop AMI instance

I have started an EC2 instance from Raring Desktop AMI image. However i am not able to do the standard ssh -i ubuntu@host type login on this machine. I get the following error: Permission denied ...
1
vote
0answers
74 views

See Byobu Screens using ConnectBot

I use ConnectBot sometimes to connect to my ubuntu machine, and that works fine, however it just comes up with a standard shell, not my byobu screens that I get when I connect to it using another ...
3
votes
1answer
260 views

How to sync keepass2 using scp/ssh?

I want to access/save my keyDB using keepass2 on a SSH server. On windows, it is available through IOProtocolExt plugin (which contains winscp portable executable). ...
3
votes
1answer
27k views

ssh: connect to host localhost port 22: Connection refused [closed]

Although This has been discussed, but still i am not able to solve this. Here is a quick review of what i did and how i got into the trouble: Installed Ubuntu 12.10, installed ssh, sudo apt-get ...
1
vote
0answers
77 views

Allow users to access specified IPs only

I have a computer that offers both a VPN and a SSH server running three (separated) VPN networks. All users log into the server via ssh. However, I want that only certain users can communicate to ...
0
votes
0answers
25 views

How can I set phpmyadmin to be accessed via tunnelling only?

I want to improve server security and make phpmyadmin only accessible via a tunnel, as bitnami do in their server config: http://wiki.bitnami.com/Components/phpMyAdmin_and_phpPgAdmin How is this ...
0
votes
2answers
2k views

sshd won't stop/start properly

I am running ubuntu 13.10 (fresh install). I have installed openssh-server. During the process of trying to troubleshoot a problem with logging in via ssh from another linux system (also running ...
2
votes
2answers
2k views

How can I allow access to both SSH and SFTP?

I started from the following article to set up SFTP on Ubuntu Server: http://blog.srmklive.com/2013/04/24/how-to-setup-sftp-server-ftp-over-ssh-in-ubuntu/. If I follow these instructions, I can ...
1
vote
1answer
741 views

How to use an environment variable of a remote host using scp?

I have two machine, host1 and host2. I would like to use an environment variable of host2, from a scp command from host1. For instance, use this kind of command from host1 : scp file ...
0
votes
1answer
233 views

No motd displaying when logging into SSH

I recently upgraded my box from 13.04 to 13.10. After the upgrade, I ran into some issues with motd displaying twice (specifically, /etc/motd was being displayed after the contents of ...
0
votes
0answers
372 views

No route to host. How to SSH from guest machine in virtualbox to host machine by bridged adapter?

Sorry for the mistakes I've made. I'm trying to connect through ssh to my host machine (Ubuntu 13.10) from guest machine (Ubuntu Server 13.10) which has bridged adapter. Vice versa everything ok - I ...
1
vote
2answers
280 views

How can I access to guest machine via ssh which has Bridged Adapter

I'm sorry for the mistakes I've made, I'm not Englishman. I have Ubuntu 13.10 and Virtualbox installed Ubuntu Server 13.10 (Bridged Adapter). Guest machine has nginx, mariaDB, php etc. - hence web ...
1
vote
2answers
365 views

My new server has ssh_host_ecdsa_key and ssh_host_rsa_key files on it already, is this normal?

I have a new dedicated server, which I currently access with username and password over ssh. I have not yet set up an ssh key. I am just looking into it now. So this is a new server with ubuntu ...
1
vote
1answer
732 views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
0
votes
1answer
56 views

tunneling ssh through ssh

I access a Beowulf cluster which only allows local connections when I am at work. To work on the cluster from home, I login to an onsite ssh server then run a simple ssh script, to login to the ...
0
votes
1answer
155 views

Running ubuntu server behind a router DSL-2780

I am not sure if this qualifies as an Ubuntu related question or if i need to go to a D-Link related community. I am currently following the ars technica guide on setting up a home server using an HP ...
0
votes
0answers
27 views

StrictHostKeyChecking=no refuse to connect

I was trying the accepted answer from this Q&A: ssh: automatically accept keys in my script code the below line is unable to processed . ie. my script is stuck on below line . ssh ...
0
votes
0answers
30 views

Howto limit the amount of time ssh keys password are stored in a session?

Using raring, I see once I gave the password to the prompter, the key remains "opened" for use as long as the session remains opened. I feel this like a security concern, and I think I remember in ...
1
vote
1answer
554 views

SSH Stopped working

I restarted my computer, and now I can't connect to it through ssh on my remote machine. I can connect to it through the host machine, but that's it. It says ssh is running, but I can't connect from ...
0
votes
0answers
33 views

openssh-server on ubuntu 12.04 server does not send termination signal on reboot

After of some software installation maybe postfix or asterisk 11.7 or freepbx I can’t figure what was, my terminal (putty) does not get any disconnection signal from server when I‘m doing reboot from ...
1
vote
1answer
340 views

LTSP thin client would not login

The situation is: I have created an Ubuntu LTSP 64bit Server with 32 bit clients using the steps in this tutorial. I used Virtual Box machine as thin client using same procedure in this tutorial. ...
1
vote
1answer
49 views

Automatically add external display to screen in Ubuntu Server

I'd like to be able to control my laptop's (Ubuntu Server 12.04) external display over SSH. I know about the screen command, but it requires that I add the display from the laptop. Is there a way to ...
3
votes
2answers
228 views

Bootstrap to OpenStack cloud asks password to log in

I'm testing the new beta OpenStack cloud of CloudVPS.com and hitting a few problems. The first problem (which I assume is very likely CloudVPS beta related) is that about half of the time the ...
0
votes
0answers
21 views

ssh backup host [duplicate]

I have a pc called MONKEY, when MONKEY is connected to the lan of my network it has ip address 192.168.1.101, when MONKEY is connected to the wlan of my network it has ip adress 192.168.0.107. Now in ...
0
votes
2answers
2k views

Run scripts automatically in server after ssh connection

how to run a script automatically in server soon after client system establish ssh connection with the server for ex: suppose a user will logon to my computer from another system(connected via lan) ...
0
votes
2answers
2k views

Why can't I connect to SSH server from Ubuntu client? (while windows client is okay)

I have configured an ssh server on a Ubuntu 12.04 LTS machine. I changed the listening port to the one different from the default port 22 (that's the only change I made on the server). I am trying to ...
0
votes
3answers
49 views

SSH Configuration between 2 new ubuntu servers

I am very new to the job and new to UNIX flavour OS like Ubuntu. I have 2 machines, and I have installed ubuntu 12.04 LTS os on both of them. In both of them iI run the following commands sudo ...
0
votes
2answers
73 views

How to practice SSH with single Ubuntu system?

I am having only one Ubuntu installed PC and I must practice SSH. could somebody help me how can I do that ? Thank you.
0
votes
0answers
647 views

How can I set up (already installed) SSH for Ubuntu Touch?

I keep getting 'no route to host' when I try ssh phablet@ip. I've already read the release notes on how to set it up but it doesn't work. I already have openssh-server and ssh packages on my laptop ...
-1
votes
1answer
172 views

Command not found when sshing into Ubuntu for amazon instance

When trying to ssh into my ubuntu instance, I receive -bash: ssh: command not found. I'm trying to connect to an instance on amazonaws. Im running cygwin off of windows 7
1
vote
0answers
143 views

how do i set up a remote desktop connection on a VPS using terminal access (12.04)

I dont know much about Linux and I want to learn more so i signed up for a VPS. i want to use some form of remote desktop and so far i am failing. i think i've setup xrdp and vncserver on the linux ...
0
votes
0answers
69 views

Restarting Ubuntu Server 13.10 Breaks nginx & SSH

I am wondering what might be causing this. Any ideas would be super helpful. I have a little MicroPC in my room running Ubuntu Server 13.10. It's all setup, but here is what I have to do if I have ...
0
votes
1answer
178 views

how to SSH connection between two ubuntu machines which one of them doesn't have internet?

I have a ubuntu 12.04 virtual machine which able to cennect internet and a beagleboard-xm that includes ubuntu 13.10 os without any internet connection. I want to connect with ssh into the ...
0
votes
0answers
51 views

How to open an X client on a remote machine

My desktop machine has two big monitors. I would like to be able to use my laptop from my desktop. That is, I would like X clients (say, web browsers and xterms) on my desktop whose processes are ...
0
votes
2answers
347 views

ssh doesnot work with wifi but work fine with wired connection

I have Ubuntu 13.10. I use ssh to connect to a remote computer in the university using ssh xxxx@ws.hpc.unipg.it. It is working fine when I am using wired connection but when I try to connect through ...
0
votes
1answer
7k views

Public Key authentication failed

I am using ubuntu 13.10, and the server runs ubuntu 12.04. I had generate private and public keys using ssh-keygen, and put id_rsa.pub to server side and added it to authorzied_keys accordding to the ...
0
votes
1answer
42 views

Visual Interface to a Mac server

I am trying to connect to a mac server so that I have a visual interface as if it was a virtual desktop... I think. I have the server information and access i.e I can ssh onto the server. Any ideas on ...
1
vote
2answers
74 views

can't finish generating ssh key

I want to generate ssh key for github. I follow their documentation at Generating SSH Keys. I did all steps extends last: xclip -sel clip < ~/.ssh/id_rsa.pub Copies the contents of the ...
1
vote
0answers
40 views

SSH keys don't work on KDE

I've got my ssh keys working on Gnome and XFCE (using gnome-keyring). However when I switched to KDE, then it doesn't work at all. What's more, even when I start ssh-agent, and add keys, and try to ...
0
votes
3answers
52 views

Trouble ssh-ing into router [duplicate]

I am trying to access my router from the terminal and I keep getting an error. Does anyone know how to obtain a "publickey?" This is the output with the -v option: I tried reading through the ...
2
votes
1answer
199 views

Running a graphical application through ssh and keeping it alive

I want to run a GUI application from a remote client via ssh and keep it alive (and eventually reconnect to it) after the connection is closed. As an example: I want, from my home pc, to open a ...
1
vote
1answer
90 views

Using ssh with wallet on KDE

How can I use wallet with ssh keys? I found many different descriptions, I've got ssh-agent running, I've added a script at Autostart/ssh-add.sh: #!/bin/bash export SSH_ASKPASS=/usr/bin/ksshaskpass ...
0
votes
3answers
227 views

Shift running X window (display environment) on SSH X11 forwarding

I want to see remotely some running GUI application without kill the current process, I have tried vnc and xrdp, xrdp opens a new blank session, so it is not for me, vnc is good, but not exactly what ...