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

learn more… | top users | synonyms (1)

18
votes
3answers
17k views

How to get coloured terminal over ssh?

When I connect over ssh to remote hosts everything is just a single font/color. I would like to have colours like I do locally e.g. green for executable and blue for symlinks etc. And such that when I ...
3
votes
2answers
176 views

Persistent SSH Connection

I use this command to make an SSH tunnel to a remote server. ssh -D localproxy:9999 -C tcx0@111.222.333.444 I also made a shell script using expect command to auto process entire process with also ...
0
votes
1answer
48 views

is there any way to change ssh or vnc config using ftp?

I have a remote server which I can't access physically, for the last couple of weeks I could connect to it using both FTP protocol and VNC remote desktop. I changed the "Desktop Sharing" Program in ...
1
vote
0answers
51 views

Why can't I connect to my localhost port from a remote computer?

I'm using link-grammar server to convert sentences into semantic graphs. It provides an API though a port to do the above process. It's configured to works through port 9000 of localhost. I used to ...
5
votes
1answer
6k views

Unable to initialize frontend: dialog when using ssh

I am executing the following command over ssh in a testing environment, as root: ssh <remote_srv> "apt-get autoremove" In my sshd_config I have "PermitRootLogin without-password" and I have ...
0
votes
1answer
43 views

Cloud Image SSH Login

I am using OpenStack and when I attempt to login to Ubuntu QCOW2 image it just times out. I can ping the instance, and I can telnet the SSH port without an issue (telnet <floating ip> 22) so I ...
2
votes
3answers
438 views

How do I disable gnome-keyring ssh integration?

I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do ...
2
votes
0answers
75 views

Host to Guest one way connection issue

I have guest run on my machine on qemu with configuration: /usr/local/kvm/bin/qemu-system-x86_64 -enable-kvm -cpu host -smp 8 -hda ${TEST_VIRT_ENV_IMAGE} -m 4096 -netdev user,id=user.0 -device ...
8
votes
2answers
3k views

How can one unlock a fully encrypted Ubuntu 11.10 system over SSH at boot?

In previous versions of Ubuntu, and current versions of Debian, you can unlock a fully encrypted system (using dmcrypt and LUKS) at boot time over SSH. It was as easy as: Installing the encrypted ...
4
votes
1answer
69 views

Permanently raising nofile limits in Ubuntu 14.04 LTS

I cannot seem to figure out what exactly is needed to allow the maximum number of file descriptors to be raised permanently for all users. /etc/security/limits.conf: root hard nofile ...
140
votes
12answers
110k 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
1answer
127 views

problem with using git using private key

sorry if this question seems so easy but I'm new with UBUNTU and I still couldn't figure that out. I've been given a private key with password to clone and install a software from a repository using ...
0
votes
1answer
249 views

Failed to load module “pk-gtk-module” in host centos while ssh to ubuntu

When I am logging in via SSH to the Ubuntu 12.04 server from CentOS machine and running the gvim editor then I am getting the error: Gtk-Message: Failed to load module "pk-gtk-module" . If I am ...
2
votes
1answer
56 views

Automatic User Creation for SSH Server?

I'm trying to setup an SSH server which, upon an attempted connection with the correct public key, will create a new user account if one does not exist. On connection I'd like a specific script to ...
0
votes
0answers
37 views

Problem running ufw on Ubuntu 14.04 server

ufw is supposed to be the easy firewall for Ubuntu, but I seem to still having missed something. After a fresh install on my 14.04 server, and leaving it default, the terminal will freeze after ...
5
votes
1answer
5k views

Intellij unable to fetch from git

I've cloned an existing git repository. Git is working fine when I pull using command line. However, when I try doing the same from Intellij, it says Fetch failed. Fatal : Could not read from remote ...
0
votes
2answers
41 views

How to run an application on a headless Ubuntu? [duplicate]

I have an Intel NUC running 3.13.11.6; and I have written an application that runs some simple data polling (cpu, memory usage, disk usage etc ...). The NUC is headless, so I connect via SSH (putty) ...
0
votes
1answer
36 views

Keychain does not work in Cron

I have a problem with my backup script which is using keychain. The script works fine when fired via command line but doesn't work as expected when called via cron (does not transfer any data to the ...
0
votes
1answer
52 views

Creating new user, how to run commands after SSH login? (Ubuntu Server Trusty)

I have configured Ubuntu Server for my needs, and basically everything is working as I want. I'm new to Linux, but learned a lot using and interpreting different guides, however, this particular ...
0
votes
2answers
47 views

when ssh is run with a server + command argument, what startup profile runs if any?

I know /etc/profile and ~/.profile are among the start-up scripts used when ssh is used to login to a server – i. e. using ssh with server argument. However, the scenario where I am just using ssh ...
0
votes
1answer
48 views

How can I get fail2ban to stop banning my Filezilla SFTP?

When I started with an Ubuntu home server, fail2ban was a lifesaver - alerting me to multiple attempts at unauthorized SSH access to my server. Recently, after moving to a way off port, the only ...
1
vote
0answers
29 views

SSH outside the local network

I have Ubuntu 14.04 LTS installed on a Toshiba Satellite L655. I've recently installed an SSH server on the machine and it works fine when connecting to it using 192.168.1.3 but when I try that using ...
16
votes
3answers
41k 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 ...
0
votes
0answers
17 views

Start a local session, remotely [duplicate]

I dont want to enable auto login for various reasons. Is it possible to login to the desktop, from an ssh session, in order to then VNC into the desktop ? The issue is that I remotely turn on/off my ...
-1
votes
1answer
18 views

How to get rid of “The authenticity of host 'bazaar.launchpad.net (91.189.95.84)' can't be established.”

I have seen the response when ever I ssh to a server for the first time. After I give yes, it is never asked again. My question is, is there a way to solve this ? I mean I am expecting, from the very ...
1
vote
1answer
34 views

User Home directory encryption - files that must remain un-encrypted like authorized_keys

Before we get to far, my question is: If this is the wrong way, or I'm doing it wrong, what is the right way? Pursuant to this howto: https://help.ubuntu.com/community/EncryptedHome So I see this ...
0
votes
0answers
34 views

Ssh outside network

I would like to setup an ssh server that I can access over the internet. I have forwarded the port 22 and I can connect over the internet on my local network, but as soon as I leave it it becomes ...
1
vote
0answers
24 views

How can i enable user to have reboot privileges without sudo? [duplicate]

How can i enable user to have reboot privileges without sudo? Need to keep sudo password enabled. ssh user@server "sudo reboot" does not work because it requires a password to be entered. Want ...
3
votes
4answers
9k views

How to use SSH with Tor?

How can I use an SSH client over Tor in Ubuntu 11.10? I already have Tor running (and successfully anonymizing HTTP traffic).
4
votes
2answers
222 views

ssh is not asking for my passphrase

SSH is no longer asking for my private key's passphrase. I don't understand how this happening. In the past, I have used ksshaskpass to get my ssh key's passphrase from KWallet and unlock my key. I ...
0
votes
0answers
27 views

Nautilus “Open in remote terminal” over sftp assumes wrong username in Ubuntu 14.04

I use the “nautilus-open-terminal” to open the terminal in the current folder in nautilus. This worked great in Ubuntu 12.04. However, after upgrading to 13.04, I am unable to open the terminal over ...
0
votes
1answer
59 views

Unable to connect to my Ubuntu machine using Putty remotely?

I am new to Ubuntu, I have it installed on my computer (not on a virtual machine) and I am trying to connect to my Ubuntu machine remotely through PuTTY. I am getting the IP address of the Ubuntu ...
0
votes
0answers
175 views

How to get SSH access to the Ubuntu Touch OS on the BQ Aquaris mobile (Ubuntu Phone)?

I just got the phone and it's up and running. Unfortunately I was not able to figure out how to get access to the phone using ssh. How do I do that?
2
votes
3answers
707 views

Can't SSH into Ubuntu Touch device

From my computer: cameron@cameron-ubuntu:~$ ssh phablet@192.168.99.124 Permission denied (publickey). So it seems that openssh on the phone doesn't have password authentication enabled. But it ...
2
votes
2answers
51 views

Is MaaS, juju, or the charm responsible for ssh-keygen on nodes?

My MaaS system works, enlists, recruits, commissions, issues warrants, does courts martial, deploys and destroys. juju seems to work fine: bootstraps locally, installs juju-gui, my charms get ...
0
votes
0answers
41 views

Remote access to a machine, run script for logged on user

I've been searching for an answer for this for some time. Is it possible to log in to a machine remotely via (say from my phone on my way to work) and run commands that will affect the logged on ...
1
vote
1answer
51 views

How to get notified (run script) on every SSH connection?

I'm able to run a script automatically every time I log into my machine via SSH by placing a command in the /etc/ssh/sshrc file. That works perfectly, however it's only triggered when I log in via ...
0
votes
0answers
21 views

sshd_config file get reset automatically

I have a server running with Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64). For some reason I have to get it accept password when I ssh onto it , so I change the sshd_config file ...
0
votes
0answers
10 views

How would I go about sending a command to a headless Linux device through ssh, closing the connection, and still have the command run? [duplicate]

I have sent a command to my headless Linux device though ssh but I would like to close the ssh connection, and still have the command run. Example: Running this command though ssh "aria2c -i ...
1
vote
2answers
30 views

Can I change the SSH deny/allow order?

I am trying some ssh tricks and stuck on a server. Is there a way to make ssh hosts.deny read before hosts.allow?
3
votes
7answers
32k 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
0answers
41 views

GTK+ theming issue during forwarded X11 session over SSH

I'm having a very odd theming issue during forwarded X11 session over SSH. My remote host is an ARM router with some GTK+ packages ported using Optware. While X11 forwarding works in general, I get a ...
1
vote
2answers
128 views

SSH Public Keys not working anymore?

I have an Ubuntu Server and OS X and Windows (Cygwin) clients. A few days ago, I was able to successfully generate RSA keys on the client and copy them to the server with: ssh-copy-id ...
0
votes
0answers
14 views

How to generate randomart of anyfile?

We all now the ascii randomart generated by ssh-keygen when creating or validating ssh public keys. We also now you can generate hashes of any file with sha1sum or md5sum. But, is it possible to ...
0
votes
1answer
99 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.
1
vote
0answers
22 views

Using ssh as a proxy

I work remotely and I don't have access to some resources of my company from my local machine. Those resources can be accessed only from remote virtual machine. It's not very handy and I see two ...
0
votes
0answers
31 views

I want to make a remotely controlled server running ubuntu gnome

Ok, so I have an old HP box with a 320gb hard drive in it. The display controller doesn't work on this machine, so I need to be able to control the machine remotely from my primary Linux Mint ...
0
votes
1answer
149 views

MySecureShell SFTP “Authentication Failed”

I am trying to connect to my SFTP server (Configured with MySecureShell), but keep getting the response "Authentication Failed". The username and password is correct. I created an SFTP group: ...
78
votes
6answers
107k views

Is it possible to remove a particular host key from SSH's known_hosts file?

Is it possible to remove a particular host key from SSH's known_hosts file? I usually end up deleting the entire known_hosts file, which I have no problems with doing, but just out of curiosity, is ...
3
votes
2answers
302 views

Error `could not load host key` when trying to recreate SSH host keys

I am trying to recreate the ssh-server host keys. I have at least two ways to do this: With dpkg-reconfigure dpkg-reconfigure openssh-server This works fine, but I cannot give the key length ...