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

learn more… | top users | synonyms (1)

0
votes
2answers
2k views

Terminal app on Ubuntu Touch nexus 4

I want to install the Terminal app on Ubuntu touch. When I ssh to the nexus4 device and run sudo apt-get install terminal I get this error. sudo: no tty present and no askpass program specified
1
vote
1answer
173 views

Any way to back up a remote host with rsync without opening up for root access on either end?

I'm setting up a VPS that'll host a couple of sites, and I'd like to back up everything to another host which has a nice massive ZFS, allowing me to snapshot frequently. With the knowledge I have ...
2
votes
2answers
2k views

How do I open a new terminal window to ssh into a new computer and execute commands?

Basically, I have a computer that I have to ssh into and pull up about 8 terminals to monitor various threads and log files. I would like to have a script from my build machine that can do this all ...
1
vote
2answers
3k views

Connect to MySQL DB tunneling with SSH using Emma

I have tried using the mysql-workbench but it was too confusing, then I decided to use emma instead. I am trying to connect to my MySQL DB through SSH, but I don't see that option when I try to make a ...
1
vote
2answers
344 views

How to set up SSHD to allow login using public key authentication?

I've been trying to set my vps to use SSH keys for login instead of password. I've been reading tutorial after tutorial on how to set this up but I just can't set it up right. So what I have done so ...
3
votes
1answer
9k views

Run script at boot/startup in Ubuntu 12.04 x64 Server

I am trying to start the RoR application named fedena. What I generally do is SSH login as rootand hit these commands root@cloud:~# cd fedena root@cloud:~/fedena# script/server => Booting WEBrick ...
1
vote
1answer
146 views

rsa ssh public key fails ubuntu 12.04 desktop edition, works when logged into GUI

I first say, thanks for your time, this may be a known issue but I couldn't find it the answer. How to replicate: copy your public SSH RSA key to ~/.ssh/authorized_keys reboot ubuntu 12.04 desktop ...
1
vote
2answers
419 views

How do I launch a web browser on my local machine that visits websites through the ip of a remote machine?

So, I want to visit a website that only permits access to computers from certain ip domains. My ip is not from one of the allowed domains, but I've ssh'd into a (linux) machine at another location ...
2
votes
0answers
107 views

How do I activate PulseAudio when only being logged in via ssh?

I am using a console-based music player, called cmus. It is in the repositories. If I ssh into my desktop computer from, say, a laptop and start cmus, I would like to be able to play music. But, if ...
3
votes
3answers
434 views

Is it possible for 2 users to work at the same time, one is connected remotely? And how to set it up?

I am running Xubuntu on my main PC at home. Is it possible for 2 users to work simultaneously on one computer, while one is physically in front of the computer, and another one is connected remotely ...
3
votes
3answers
12k views

Cant SSH localhost

I can't SSH localhost. I have installed OpenSSH server as well on my Ubuntu 12.04 LTS (32 bit). connected to net (ip : 192.168.1.2) installed hadoop, running hadoop for local machine. Here's what I ...
1
vote
2answers
105 views

SSH ids are forgotten on logout

I'm having trouble setting up SSH public key authentication. I want to use this to backup my server to a backup server with SSH. I will do this automatically with a cronjob, so I can't type in the ...
2
votes
2answers
12k views

SSH public key authentication doesn't work

I'm having trouble setting up public key authentication for an SSH server on Ubuntu Server 12.04 (A) for authentication from an Ubuntu Server 13.04 (B). What I'm doing now (I'm trying to follow the ...
2
votes
1answer
273 views

ssh-agent not accessible within a schroot

I'm using an schroot to do some builds of deployment packages, and there's a lot of to and fro between the host and the schroot environments. Within the schroot the ssh-agent doesn't seem to be ...
2
votes
1answer
107 views

How worried should I be about port 22?

I am learning Hadoop and I need to ssh onto localhost in order to set up a pseudo distributed system. I read on another forum: ...
12
votes
6answers
44k views

Trying to do ssh authentication with key files: server refused our key

I'm trying to setup ssh authentication with key files in stead of username/password. The client is a Windows box running PuTTY and the server is a Ubuntu 12.04 LTS server. I downloaded puttygen.exe ...
0
votes
2answers
2k views

SSH shell prompt does not show user@host for one user

I have Ubuntu 12.04 server running. I created user1 when I installed, and created user2 today with '1useradd' and I added it to all the same groups as user1. But when I log in remotely using SSH, ...
2
votes
2answers
2k views

What does the script /dev/null do?

I was sued into another user to run screen, but I got the error Cannot open your terminal '/dev/pts/4' - please check. I found a solution: script /dev/null and after that I can use screen. Why does ...
4
votes
1answer
7k views

Ubuntu 12.04 - I can ssh into the server but sshd is an unrecognized service

I'm trying to setup key based authentication for ssh on my Ubuntu 12.04 server following this tutorial and that. It's not really working but I have another problem slowing me down, which is that I ...
27
votes
9answers
21k views

What's the best way to SSH to machines on the local network?

I have 2 computers, one that I use and one for the kids. I want to be able to ssh into their computer to control it (like to shut it down etc) but am curious the best way to do this. We both are in ...
0
votes
1answer
2k views

SSH connection to AWS EC2 servers terminate often

I am using ubuntu os as i am trying to cloud machine. SSH connection to AWS EC2 servers terminate often, what configuration needs to be modified so that we could minimize the remote shell from being ...
4
votes
2answers
3k views

Command line web browser using SSH, is there any way i can use

I am connected using SSH to a Ubuntu Box which is behind firewall and routers. From that Ubuntu box i need to open a router web page and login to the router for doing some changes. How can i from ...
0
votes
1answer
1k views

ssh tunnel in and connect to local machine

Have a server setup and I can ssh in with putty via port forward and open a gui page, and webmin and command line. Once I have logged in, I want to be able to access other ip addresses via web page ...
6
votes
3answers
592 views

Using PKCS#8 encrypted private keys w/ ssh-agent

I'm setting up a new Ubuntu system (12.04.2 LTS) for Rails development and wanted to use an encrypted SSH private key as per this article. I can set up a standard ssh keypair using the instructions ...
1
vote
1answer
2k views

X11 forwarding via “ssh -X username@hostname” is slow, but fast using “nxclient”

As mentioned, when I do X11 forwarding using basic ssh -X username@hostname it's quite sluggish. But interestingly, when I use nxclient, it's significantly faster. I'd rather use ssh instead of ...
1
vote
1answer
1k views

Login to webmin with user has no password (SSH)

I have an simple Ubuntu 12.04 instance running on AWS EC2 I have webmin installed and accessable, but am presented with a login requiring username and password. As part of the AWS install, you don't ...
0
votes
3answers
4k views

Script for remove files using SSH

I have a script that uses scp to backup some files of my PC into another PC connected in LAN, something like that: #!/bin/bash scp some_directories host@ip-address:backupFolder/ I use a public Key ...
10
votes
3answers
59k views

How to set up remote desktop sharing through SSH?

Is there a way to view (and control) a remote desktop through SSH? I will not have physical access to the remote host machine.
0
votes
1answer
962 views

SSH Key / Password Issue

I am running Ubuntu 12.04LTS. I am trying to upload to github via SSH. I generated my key using keygen, and made sure that github has the key as specified. However, when I try to ssh in I keep ...
0
votes
1answer
1k views

Teamviewer will not connect to Ubuntu 13.04 host

Teamviewer on the Windows 7 machine gets stuck with the "Connecting..." message when trying to connect to my Ubuntu host. I have correctly (to my knowledge) set the --passwd and gotten the daemon ...
1
vote
1answer
472 views

How to make my computer accessible over the internet through a machine that does have a public IP address

I want to connect my laptop and another machine together using synergy. They are both on different networks, but I have successfully made a connection from my laptop to the desktop using an SSH ...
1
vote
0answers
309 views

Remote initialization of pulseaudio devices

I am administrating remotely a Ubuntu 12.04 which was originally installed as a desktop machine. I am away from home, so I want to use SSH in order to let my sound card to get access to a USB radio ...
1
vote
1answer
58 views

Is there any way to share a pts/x?

What I mean is, user A connect via ssh to the box (ubuntu 12.04). Then ssh to another box (Linux/Solaris/etc) and work. User B connects to ubuntu box and can see what user A is doing. I know for ...
2
votes
2answers
1k views

What is managing SSH keys in Unity, and how do I reset / disable / configure it?

I'm using Ubuntu 13.04, and recently changed my ssh keys. For some reason Unity, or something in Gnome (seahorse?) doesn't seem to be recognizing it. The keys were generated on a different machine, ...
2
votes
1answer
478 views

Unable to ssh to machine. Outbound ssh works. sshd is running on port 22

I have an Ubuntu 12.10 machine on my LAN to which all ssh connections time out. Let's call it 'F' (for fail!) Two other machines 'A' and 'B' on the same LAN can connect to each other. I can also ssh ...
1
vote
1answer
319 views

Unable to run a sequence of commands using SSH

I am unable to use a couple of sudo commands while logging in through ssh. I am using the following command but its not working properly. ssh hypr1000.opsr.com "ot=sudo virsh list --all |grep ...
1
vote
1answer
891 views

How to switch keyboard input language through ssh terminal on the remote machine? (Alt-Shift analog for ssh)

I'm looking for a way to change the language I give as input to the remote machine in an ssh session. All I want is an analog of the Alt+Shift shortcut, but for the remote machine. Specifically, the ...
0
votes
1answer
375 views

How to configure ssh authentication with ldap without password

I need to setup ssh authtication with ldap without using password like amazon EC2 instance with pam file. Also if I need to use this with multiple servers, How can I configure that?
1
vote
2answers
342 views

Is there a maximum number of groups?

We started an Ubuntuserver for versioncontrol and would like to access our repositories via ssh. As we need to give access to several external developers I thought it would be the best way to create a ...
0
votes
2answers
2k views

Transfer files between ubuntu machines without SSH [duplicate]

How do i transfer files between ubuntu machines without SSH
0
votes
1answer
640 views

Accidentally ran “sudo chmod a+rx ~”

I accidentally ran sudo chmod a+rx ~ on the system root rather than sudo chmod a+rx myfolder... I ran sudo chmod -R a+rX myfolder/public_html then accidentally ran sudo chmod a+rx ~ instead of ...
0
votes
2answers
25k views

SSH connection refused when connecting remotly

I set up my Ubuntu server and it can connect to itself when running ssh localhost. However, when I run Putty on windows 8 I get a "connection refused" error. I have, to the best of my ability: ...
3
votes
0answers
470 views

Using gnome-keyring with svn via ssh and mysql-workbench

Problem: mysql-workbench fails to connect to the keyring to connect to mysql. I'm trying to get my svn command (which uses an svn+ssh uri) to prompt me to enter my password for my local rsa secrets. ...
1
vote
1answer
675 views

Could not resolve hostname

I am trying to login to a server using ssh and the console. I have the Ubuntu Raring Ringtail. I get the could not resolve hostname prompt a couple of times and then after some attempts it just works. ...
1
vote
1answer
79 views

How to populate configuration files over a lot of servers?

I have configuration files at my home directory (.bashrc, .gitignore, etc.). When I find something helpful for me I add this information into this files. But also I have access via ssh to different ...
0
votes
1answer
144 views

How can I get a list of users that have logged in via SSH?

I would like to audit how often users log into my Ubuntu system remotely. How can I get a list of users that have logged in via SSH for a particular period of time? (for example, the last 24 hours?)
0
votes
1answer
463 views

Ubuntu two users logged with same name

I have a server and a ssh session, but it seems like I've pressed something and it was a shortcut so currently, when I do w it shows my other session (which I don't know how I opened). I closed my ssh ...
0
votes
1answer
254 views

Create folders in remote server after ssh login using commands

I need to create folders on the remote server, i try to ssh to the server and then create folders. The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
1
vote
2answers
2k 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 ...
1
vote
2answers
726 views

Where do ltsp user accounts need to reside?

I've looked at the fan club ltsp install articles, but I cannot tell if the user accounts for my ltsp users need to reside only on the ltsp image. I believe that is the case, and I've added them ...