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

learn more… | top users | synonyms (1)

7
votes
3answers
12k views

git ssh :Permission denied (publickey)

I tried to use github so I followed the help doc. But when I used this command : ssh -vT git@github.com I got error like this: jacos@Jing:~/.ssh$ ssh -vT git@github.com OpenSSH_5.8p1 Debian-7ubuntu1, ...
0
votes
0answers
138 views

Ubuntu OpenSSH having issues connecting to Cisco router. No such issues with other distro or OSX

Below is the output from ssh -vvv user@host. I've tried this on two separate computers running Ubuntu. It works from Opensuse and OSX, and also my Android phone. Interesting issue. Any suggestions ...
0
votes
0answers
69 views

Passwordless SSH access for root user

I've tried to set this up using information from the following sources: Passwordless login: https://www.youtube.com/watch?v=LlGL-uBSe6M Enabling root login: How to enable root login? When the above ...
0
votes
2answers
75 views

I want to run commands after logging into the remote server using shh

#! /bin/bash read -p 'Username: ' user read -p 'IP: ' ip ssh "$user"@"$ip" osascript -e ' tell app "System Events" to display "Hello world"' This file will be ran automatically so it's not like ...
0
votes
1answer
32 views

How to use terminal ssh login almost automatically

I have been using terminal and ssh. But I can connect to many people as I have a school where everyone has a mac and I'm able to connect to them. But I want to create a file in nano and when I run it ...
0
votes
0answers
48 views

Eclipse over X11 forwarding is not showing all icons/assets

I have a virt running RHEL5 which has Eclipse installed on it. I'm using SSH -Y to start eclipse on my Ubuntu host. My problem is that not all assets in Eclipse seem to be shown. Some of the menus ...
1
vote
2answers
32 views

Unable to ssh to my VPS

I purchased a VPS from namecheap and now I am trying to ssh in to it (Ultimate goal is to set up Ghost Blogging Platform on it). I tried the following command - $ ssh root@_ip_address_to_my_vps_ ...
0
votes
0answers
64 views

GLASSFISH - domain.xml permission denied local-instance

I have installed Glassfish 4 on two ubuntu 14.04 servers. Called them das-glassfish and node-glassfish I have made connection between them ,the ping works fine and the ssh connection is correct too. ...
0
votes
1answer
25 views

execute script on SSH exit

is it possible to execute an shell script when i'm exiting a SSH session? I want to execute script to disable a service when exiting
0
votes
0answers
24 views

After I installed UFW ssh login very slow

I'm wondering if I made a mistake or if this is the normal case. I turned off password based ssh login and changed it to RSA key exchange. After that I changed the ssh port and then I installed UFW. I ...
0
votes
1answer
71 views

Having issues creating a SOCKS5 Proxy. Can not Tunnel device

I have a desktop machine in my home which ive turned into a Ubuntu (desktop 14 LTS) SSH server using OPENssh. I can SSH into my machine locally using public key authentication (&Putty from my ...
0
votes
0answers
123 views

GPG Password Agent and SSH Key Agent

Yesterday I wanted to add an app to the startup menu, and I noticed that there are two instances that weren't there before: GPG Password Agent and SSH Key Agent. I didn't install those, and I read it ...
81
votes
11answers
93k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
0
votes
0answers
14 views

Connect to my computer via ssh and login in the encryption screen [duplicate]

I have a small question about how to login into my computer at work. I have a vpn connection and it works properly, however I had to reboot my machine and I have encrypted my desk, which means I have ...
0
votes
0answers
45 views

Couldn't connect through SFTP after setting up SFTP

I setup SFTP on my ubuntu machine as follows, apt-get update apt-get install openssh-server cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak sed -i 's/Subsystem sftp ...
7
votes
4answers
61k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
2
votes
2answers
812 views

what is Remmina's “remoteFX” secret to running ANY sort of application remotely?

I am attempting to run an openGL application from a remote pc. Both pc's are on intranet (so GBit connection) and both are running ubuntu 13.04. If I share the desktop of the pc running this openGL ...
0
votes
2answers
64 views

Unable to disable ssh root login [duplicate]

Unable to disable root login on Ubuntu 14.10 login as root vi /etc/ssh/ssh_config PermitRootLogin line is not here so i add it service ssh restart root login still works. I even restarted the ...
1
vote
1answer
63 views

How to run libreoffice via ssh with x11-forwarding

I am trying to launch loffice or localc via an established ssh connection (ForwardX11 enabled). It does however fail to show the loffice gui / splashscreen on the computer from where I run my ssh ...
0
votes
1answer
28 views

Running program from a remote machine

I am currently working with 2 machines. Machine 1 has Matlab installed, and I have a large amount of data in Machine 2 that needs to be processed with Matlab. Copying the data from Machine 2 to ...
0
votes
0answers
20 views

How to fix GSSAPI errors on ssh login?

Before the login: prompt when connecting to a new ubuntu server, I get [ GSSAPI Authentication not available. ] [ Unspecified GSS failure. Minor code may provide more information: No credentials ...
16
votes
6answers
54k views

How do I install a ssh private key generated by puttygen?

I set up my linux server to accept connections from my home PC by adding the public key generated by puttygen to the authorized_keys file. Now I'm trying to connect to the same machine, but this time ...
2
votes
2answers
131 views

SSH to host#1 and then ssh to host#2 from host#1 and then run command and then stay connected

Im trying to SSH to host #1, who has access to host #2, and on host #2 I want to run a command. All from my local machine. This bit works fine: ssh host1 -t "command; ssh user@host2" But, on ...
-1
votes
3answers
59 views

How to add FTP and SSH acces to Ubuntu?

Day2 of my Ubuntu Desktop experience: Got a simpleNodeJS page (Hello World) page working and i even could reach it via my home-network. Now I want to add FTP and SSH access, because this Ubuntu pc ...
0
votes
1answer
34 views

Install ubuntu 64bit server to another server using ssh

I need to change my Ubuntu 32bit server to 64bit. I have two servers,both server in two location and need to install Ubuntu 64bit using SSH. I'm longing into Linux server and then longing to Ubuntu ...
40
votes
3answers
86k views

How do I configure a new Ubuntu installation to accept ssh connections?

I just installed Ubuntu 11.04 (in a VM). How do I set it up to allow me to ssh into it? (Right now I get "ssh: connect to host x.x.x.x port 22: Operation timed out".)
2
votes
1answer
1k views

Keep the running processes alive when disconneting the remote connection

I have a bunch of processes on a server initiated by ssh from my own machine. It is now about three hours that my machine's Ubuntu has got hung and I do not see any other options but restart. Is there ...
0
votes
1answer
128 views

14.04 Disable keyring for SSH and GPG

Up until recently the following solution worked well: How to disable the keyring for SSH and GPG? But just a few days ago the solution stopped working for SSH. I now get a GUI prompt for my SSH ...
0
votes
1answer
33 views

Are there files and folders within /home that MUST be avoided when mirroring a user folder between different hardwares?

Say you have two computers with different hardware (two laptops or a laptop and a desktop) that you want to use alternatively. For example, I am using the comfortable desktop now, and want to mirror ...
0
votes
0answers
106 views

rsync was working fine then started getting connection timed out errors

I've inherited some fairly old Linux installations and I'm very green in regards to Linux. The issue I'm having is server A (Ubuntu 8.04) backing up (basically copying) files to server B (Ubuntu ...
1
vote
1answer
62 views

Ubuntu Server 14.04 not accepting connections after log out

We have a Windows hardware node with Hyper-V installed on it. In Hyper-V we have an Ubuntu server running (14.04.1). It has Node.js installed on it and is set up to allow SSH connections and serve ...
0
votes
1answer
25 views

Passwordless and keyless SSH guest access

I am trying to set up a guest user that allows ssh access without a password AND without a keyfile. All my searches turns up people trying to set up password-less entry with a keyfile. This is not ...
0
votes
0answers
125 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 ...
0
votes
0answers
44 views

ssh issues with x2goclient on Ubuntu 12.04

I have been trying to connect to another machine using the x2goclient from my Ubuntu 12.04 and getting ssh errors all the time. As I googled out the error message I got, it looks like lot of them ...
0
votes
3answers
213 views

Connect headless server to OpenVPN

I'm running a headless Ubuntu 14.04.1 server. I'd like to use a commercial VPN service to secure the server's internet connection, and my VPN provider uses passphrases for authentication. I've ...
0
votes
0answers
28 views

SSH UFW: ERROR: Could not find a profile matching 'ssh'

I am installing a new server. I am using ssh to connect but when I try to install ufw and allowing ssh: sudo ufw allow ssh I get ERROR: Could not find a profile matching `ssh` It is kind of ...
1
vote
0answers
52 views

Git and SFTP - How to separate them?

We have a local development server with Ubuntu 14.04. We use SFTP with vsftp, and Git. Some coworkers have access over SFTP (without ssh access, /usr/bin/nologin and sftponly group), and other ...
1
vote
1answer
1k 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 ...
0
votes
0answers
64 views

ssh_exchange_identification: read: Connection reset by peev

I am getting the following error using ssh to connect to a server. ssh_exchange_identification: read: Connection reset by peer I have no problem connecting the same server from another machine and ...
0
votes
1answer
164 views

channel 34: open failed: connect failed: Connection refused

I'm using a ssh-tunnel to a server (Linux 2.6.32-431.11.2.el6.x86_64 x86_64) with a socks5 proxy. To build up the connection I'm using the following command: ssh -D 62378 user@server.de The socks5 ...
1
vote
1answer
50 views

shortcut to automatically paste a specific string in terminal

I have to connect to several ssh connections daily and they all have the same password, which is really complicated (enough that it is virtually impossible to memorize it). So what I have to do ...
0
votes
0answers
32 views

Unable to open terminal via VNC and New network settings blacked out

Sort of stuck with this one and not to sure what could it be. I have just setup a new VPS and still learning Linux. I have a VPS that I am is running xfce4 xfce4-goodies tightvncserver with a SSH ...
15
votes
3answers
37k views

How to setup passwordless SSH access for root user

I need to configure a machine so software installation can be automated remotely via SSH. Following the wiki, I was able to setup SSH keys so my user can access the machine without a password, but I ...
0
votes
2answers
48 views

SCP from remote to local does not work

I can scp just fine from local to remove by doing: scp trip3.csv pi@192.168.2.11:/home/pi/ But when I try to do remote to local it says no such file or directory: scp ...
2
votes
1answer
830 views

shell script for connect server through ssh terminal?

How to write shell script for connect multiple server through ssh terminal. Its should open multiple tab in terminal and connect multiple servers through ssh ex ssh test@192.168.2.1 ssh ...
5
votes
2answers
7k views

How to avoid typing ssh-add everytime

I read and followed some online documentation on how to set up a ssh-agent so that I don't need to type in password every time I ssh to a remote machine. However, with the help of ssh-agent, I still ...
0
votes
0answers
49 views

how to setup ssh tunnel

I have set up an ssh tunnel and verify that it is working by doing : $ sudo service stunnel4 start Starting SSL tunnels: [Already running: /etc/stunnel/stunnel.conf] stunnel. $ netstat -natp | grep ...
0
votes
1answer
33 views

I'm specifying the port when I use scp, but I get an error saying port 22 connection refused. What am I doing wrong?

All I want to do is move a file from my laptop to my server. Both machines have openssh-server installed, and port 2222 is specified in both sshd_config files as well as both ssh_config files. I'm ...
0
votes
4answers
54 views

quick-and-dirty file sharing on a LAN

I have a rather large file(s), which I'd like to share between two Linux boxes on the same network. I'm somewhat familiar with scp, but how do I configure it on the host? That is, how does the host ...
0
votes
1answer
112 views

Unable to use RSA keys with SSH: Server refused our key

I am trying to use RSA public/private keys generated by PuTTY to log in to two GNU/Linux computers from Windows computers, and it works for one but not for the Ubuntu computer. The keys were generated ...