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
807 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
1answer
78 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
2k 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
705 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
491 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
2k 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
626 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?
2
votes
2answers
613 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
1k 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
35k 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
583 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
935 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
104 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
212 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?)
1
vote
1answer
1k 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
446 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 ...
2
votes
2answers
4k 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
1k 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 ...
0
votes
1answer
445 views

Match directive breaks SSH

On my Ubunut server 12.04 LTS machine, I try to add a user with only sFTP or FTP access. Let's call him 'Jim' for now. Jim only needs access to a directory /var/www/example.com. So far I've tried ...
0
votes
1answer
686 views

Can't login to VPS with newly created account via ssh

Recently I've bought a VPS Server. I decided to install Ubuntu on it. I want to set up a git server on it but I have problem. I've read I should create new account for this purpose. I've already ...
0
votes
1answer
284 views

Remote Play Movies/Music

I have a basic understanding of using SSH, as in that it allows you to access files on a remote server from a local client, to run on the remote server. However, what I am trying to achieve is a way ...
3
votes
0answers
242 views

How can I let somone over ssh have access to pulseaudio?

I recently had a really good post here where I was able to figure out how to setup virtualgl and use it with X11 forwarding in ssh. I am using it to make a kind of multiseat setup. I only have one ...
0
votes
1answer
102 views

Install netbeans from a local computer to a remote workstation

I've downloaded the netbans.sh file from its official website and I'd like to install it to some workstations without having to copy it in any of those workstations. Can I remotely ssh connect and ...
0
votes
1answer
243 views

Java doesnt work if used from gnome

When I try to install something( which uses InstallAnywhere) from terminal in gnome I got something like that: Preparing to install... Extracting the JRE from the installer archive... Unpacking the ...
2
votes
1answer
1k views

Cannot SSHFS mount user home directory

I am attempting to setup a centralized home-directory server through sshfs and pam-mount. Currently I am stuck at this point: When attempting to mount the remote home directory sshfs just gets stuck:...
5
votes
1answer
2k views

How do I setup multiple minicom / Cisco console server sessions without too much hassle?

I'm working on my CCNA and have 4 switches & 4 routers which make up my main lab. I bought two quad port USB to Serial (1 USB to 4 Serial) Adapters onto the ends of which I've attached 8 Serial ...
0
votes
1answer
622 views

13.04 No sound while running applications as seperate user

Firstly I have to say I'm really enjoying Ubuntu 13.04, many changes seem subtle but overall it seems to be a much improved experience over 12.10. Most notably the snappy gui responsivity is awesome. ...
2
votes
1answer
954 views

Use existing ssh keypair in juju

How can I use an existing ssh keypair with juju? When running juju bootstrap I'm getting this error: error: environment has no access-key or secret-key. I've already setup an ssh keypair a long time ...
4
votes
2answers
6k views

SSH vs SMB vs NFS for GUI file transfer

I am using Ubuntu 12.04 on many computers at my school (I am a teacher and the head tech dude). I use Clonezilla to massively clone desktops and laptops. I want to easily share the disk images ...
2
votes
1answer
223 views

Confused keys in ubuntu 13.04

I recently installed Ubuntu 13.04, and i add my ssh key to my github account, like always i did. I didn't had any problem to access to my own reports, i could clone my reports, etc... But today, maybe ...
8
votes
2answers
13k views

How to connect to existing X session without unlocking physical display?

I usually leave many programs running on my workstation and sometimes I need to use it remotely. So I need to connect to existing X session, while keeping physical display (workstation's monitor) ...
0
votes
2answers
5k views

SSH to the Ubuntu host machine from a Ubuntu VirtualBox guest?

I would like to SSH into my host (Kubuntu 12.04 64 bit) machine from a VirtualBox guest running Ubuntu 12.04 32 bit. The host has the latest VirtualBox from the Ubuntu repos (4.1.12). The guest was a ...
0
votes
1answer
392 views

Command Prompt Stopped Listening to Me; Feeling Rejected

I'm SSHing into my headless Ubuntu 11.04 Server using PuTTY, and I'm in a byobu session. I started a mysql_safe daemon because I was trying to fix a password problem I was having with mysql. I was ...
0
votes
1answer
98 views

Ubuntu Server continues to want to upgrade after already fully upgrading

I upgraded my servers from 12.10 to 13.04 via SSH session. All upgrades for each box were successful except for one, which failed to boot after rebooting (faulty harddrive it turns out). After ...
8
votes
5answers
11k views

Why can't Ubuntu access my Raspberry Pi across LAN?

Okay, I recently got a Raspberry Pi, and I got it connected to my Wi-Fi - I enabled the SSH and installed Hiawatha, and I could access it just fine from my Desktop, which was running Puppy Linux at ...
0
votes
1answer
171 views

Cannot ssh until pinging url [closed]

If, after starting system (freshly installed Linux Mint 13), I try to run: ssh mywebsite.com it hangs up with "Connection timed out". but when I open the browser and enter mywebsite.com there (or ...
0
votes
1answer
465 views

How can I replicate putty's capabilities in gnome-terminal?

I connect to my workplace via citrix. Now to connect to servers, I currently use putty. This is because in putty, I can use the proxy settings options to add connect via HTTP proxy which is set to 127....
1
vote
1answer
958 views

Run single application with vnc

I would like to run an application on a remote ubuntu machine using vnc. Currently I have to ssh into the remote machine and run x11vnc Run vinagre locally Start the application in the vinagre vnc ...
8
votes
10answers
66k views

How to use sshpass?

I need to use sshpass to launch a remote command through SSH from a Java code. If I manually type in a console: ssh -p 22 user@ipaddress mplayer '/media/data/myFavouriteSong.mp3' works perfectly, ...
0
votes
1answer
808 views

SSH login wakes spun-down storage drives

I'm running 12.04 on a home server/HTPC, and have several storage drives which spin down using values set in /etc/hdparm.conf. Sometimes, logging in via ssh causes some or all of the drives to wake ...
0
votes
4answers
3k views

Can i configure ubuntu to append a domain to the end of an ssh hostname request?

I have many servers and they all end with the same servers.company.net, so for example vded-xx-001.servers.company.net, and was wondering if it is possible to make it so i can just type the vded-xx-...
25
votes
4answers
69k views

sudo: no tty present and no askpass program specified

When attempting to run a remote binary using sudo on the remote box: ssh remotehost "sudo ./binary" I see this error: sudo: no tty present and no askpass program specified How can I work ...
6
votes
1answer
5k views

Nautilus' remote folder default mount point

I connect a remote folder in Nautilus (file info says that it is done via sftp), and within it the folder becomes fully browseable. But I can't access it from the other applications: I couldn't find ...
8
votes
2answers
14k views

Samba: how can I access a share on a Virtualbox guest (in NAT mode)

My OS: Windows 8 Virtualbox guest: Ubuntu 12.10 server I configured apache server on vbox guest and mapped http, https, ssh port successfully into ubuntu server. It works nice without any problem. ...
3
votes
3answers
3k views

How to setup SSH VPN in Network Manager?

I am using 12.10 and I want to setup SSH VPN via GUI in Network Manager, But it has only pptp and no other types to select. How can I fix it? any packages I need to install?
4
votes
0answers
581 views

A Linux container can use an authorized_keys file outside my home directory, but ephemeral containers based on it can't. Why?

In Ubuntu 12.10, I've created an LXC of type 'ubuntu' using the lxc-create utility. I then create ephemeral containers based on this container using the lxc-start-ephemeral utility, and I need to ...
2
votes
1answer
2k views

How do I copy files with SCP to /var/www?

I need to copy files from my computer to my server's folders in /var/www so they are uploaded to my cloud. Here's what I try to do: I open my computer's terminal and type: scp /media/user/Files/...
1
vote
2answers
921 views

Need a simple, foolproof remote admin for Ubuntu Server

I'm running an Ubuntu server 12.10 box and need a foolproof remote admin for my wife/kids who have even less experience of linux than I. The box only runs as file server and our LAN Minecraft server. ...
0
votes
1answer
2k views

find -exec grep does not work

I need to use a find command in a script with ssh and grep together. Something like this: ssh user@host find /var/log -type f -mtime 1 -exec grep -i -F error warn {} \; But it says, that there is no ...