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

learn more… | top users | synonyms (1)

0
votes
1answer
19 views

Asking remotely a computer to wake another via WOL [on hold]

I understand Wake on Lan can not work if you're trying to wake a computer from outside the network. Currently, on a very far observatory, there's this computer (let's call it "server") shutting off ...
2
votes
1answer
20 views

Purpose of email at the end of SSH public key

I was adding one of my public keys to the authorized_keys on one of my servers when I realized that at the end of my public SSH key there is my email: $ cat .ssh/id_rsa.pub ssh-rsa AAAA[...lots of ...
3
votes
1answer
3k views

How do I save my previous ssh sessions

I currently have to SSH into many different systems. Is there a way to for me to save the hostname / IP of the host so that I do not have to constantly type in the hostname / IP address every time I ...
138
votes
12answers
167k 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
16 views

Can't copy ssh from Ubuntu server to Rpi

I have a digitalocean server that i watn to use to orchestrate a couple of RPies with Ansible. I have created the key pair and i'm trying to ssh-copy-id pi@#####... but all i get is this: /usr/bin/...
0
votes
1answer
5 views

Communication between Host and Server with completely different sshmac/sshcipher

I have a little bit idea about sshcipher and sshmac. Recently i got to know that to change sshmac and sshcipher , we need to update sshd_config with required cipher/mac. Now the question here is : ...
1
vote
1answer
2k views

SSH very slowly connect

When I do ssh root@ip_adress I receive password request through 7-8 seconds waiting. It happens when I do it with keys too. This is not server side problem I'm sure(Centos or Debian connecting to the ...
2
votes
2answers
3k views

How do I install the SSH2 extensions of PHP?

I want to be able to run PHP functions like ssh2_connect. But, those functions are not available on my machine. What do I need to do to install them? I am using Ubuntu 8.04 Hardy Heron.
0
votes
1answer
38 views

DNAT redirecting to specifc port is not working

I want to redirect ssh by port using DNAT, and i do try to ssh it through the command > username@IP_ADDRESS:10003, and I got this message: ssh: Could not resolve hostname IP_ADDRESS:10003: Name or ...
0
votes
0answers
23 views

Why ping and ssh resolves different Ip?

Honestly I have no idea what happened but ping not connecting to the right ip address so can't login with ssh. Say my server ip address is 136.17.90.160, but when local when ping... (venv) simon@...
0
votes
0answers
16 views

Ubuntu 14.04 - need ssh access on Ethernet to execute the commands and wifi access to send data

Ubuntu system has two interfaces - ETh0 & wlan0 ETh0 is conected to local test network through switch wifi is conected to Access point Eth0 got ip 172.18.201.100 wlan0 got ip 172.18.202.87 ...
0
votes
1answer
40 views

Problem loading upwork team app

Unable to open upwork team ap [0714/013034:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more ...
23
votes
4answers
39k views

How do I force SSH to only allow uses with a key to log in?

I tried following the instructions here: http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ to only allow users with a public key on the ...
86
votes
7answers
350k views

Adding SSH Keys to authorized_keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, ...
0
votes
2answers
22 views

How I can copy a src code from my computer to the remote computer

I am beginner in linux and I don't know many details about it. I am trying to copy a folder from my computer to remote computer to install it in the remote computer and work with it. how I can do that....
0
votes
0answers
6 views

PHP script wait on ssh input

I'm not sure if this is an ubuntu question or a php question, but: I am trying to run a script via ssh on a remote server, and I want my php script to continue running only when it receives a signal ...
0
votes
0answers
16 views

Could not connect to display tower:10.0

Got a tower with /etc/ssh/sshd_config like following: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no when I connect to it with ssh with my laptop with following .ssh/config file Host=* ...
4
votes
1answer
34 views

Comment, Uncomment, change setting based on string, add line from terminal

I have to edit some files to uncomment a line, change a value on that line or uncomment a line. I am trying to do this through a bash script. I am trying to edit /etc/ssh/sshd_config and change ...
0
votes
0answers
12 views

Ubuntu Server - After reboot key always refused, until login

I installed Ubuntu Server and also configured the ssh server. I tried the "key system", so I have a public key in ~/.ssh/authorized_keys, and also configured this file in /etc/ssh/sshd_config. When I ...
0
votes
1answer
33 views

SSH : Could not resolve hostname 192.168.40.250:2080, Name or service not known

I just installed a centOS 6.5 web server on a VMWare. Now I' like to access it from my physical computer in order to use the LAMP stack i installed on it to host a web application am developping. But ...
2
votes
1answer
24 views

directing ssh to use wireless instead of wired network

I have both wired and wireless network on my laptop. I want to ssh a server that is accessible over the wireless network only. How can I direct ssh to use WiFi for connection to server without having ...
7
votes
6answers
3k 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 ...
1
vote
0answers
36 views

/etc/sudoers file corrupted and I can't run 'pkexec visudo' over SSH

Following the instruction here I get: pkexec visudo ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/sbin/visudo' as the super user Authenticating as: ...
0
votes
0answers
11 views

Not able to access MySQL, not via Virtualmin or SSH. Tried everything

Using Ubuntu on 14.04. I installed Virtualmin and it says ''MySQL does not appear to be installed and running on your system, or has not yet been set up properly in Webmin's MySQL Database module. If ...
0
votes
0answers
21 views

What's wrong with my autossh tunnel?

This is my synergy tunnel between my desktop and my laptop. Both are Ubuntu 14.04 LTS. Note that localhost is the desktop. This works: ssh -N -f -L 24800:localhost:24800 laptop This doesn't (I ...
1
vote
1answer
23 views

is there a different way to mount drives over ssh then when using putty?

I have an Ubuntu 14.04 machine that i use as a fileserver and i have installed Ubuntu 14.04 on my laptop as the only OS. lately i have been having issues where the mounted drive on my server seems to ...
0
votes
0answers
26 views

avahi local domain not working in ubuntu mate 16.04

I used to use ssh with hostname.local but now it has stopped working. Is this a problem with all ubuntu installation or just mine? avahi-browse -all displays no output
0
votes
1answer
163 views

Updated from Ubuntu 12 to Ubuntu 14.04 and only guest account is able to login

I upgraded my VM running Ubuntu Desktop 12.04 to Ubuntu desktop 14.04 using the update manager. This was an interactive upgrade and I did opt to keep any modified config file that existed. After the ...
-1
votes
1answer
37 views

SSH Authentication Problem

i'm currently trying to setup a few virtualboxes (ubuntu 15.10) to simulat a network i'm developing some software for. For this i need to setup a SSH connection, this is working, but i can login ...
1
vote
2answers
6k views

How to install software raid 0 on ubuntu 12.04 server with mdadm?

I need to install a software raid-0 array on a Ubuntu 12.04 server with mdadm through commandline (SSH). The drive setup is as follows: SDA = OS SSD SDB = HDD for raid 0 SDC = HDD for raid 0
0
votes
2answers
7k views

Unable to execute command start-all.sh in Hadoop

GUYS I'm using this tutorial How to install Hadoop? I mean the one made by Luis Alvarado in one of the comments .. So I'm on Ubuntu 13.10 64bit Hadoop version is 2.2.0 Actually I'm a total newbie ...
0
votes
2answers
248 views

Start-up / Reboot scripts for different users

I'm still trying to learn a little more about bash scripting and start-up / reboot, I have read about crontab @reboot and also just looking at other options but I just wondered if someone could maybe ...
-1
votes
0answers
20 views

Problems with SSH Proxycommand

i have some problems with the ssh proxycommand. The authentication on the proxy works fine, but when i want to login to the remote-host it fails. The problem seems to be, that the proxy tries to login ...
0
votes
2answers
30 views

Problems with ssh

I have two VMs running Ubuntu server 16.04 on the same host machine, let us call them A and B. They have different MAC addresses, which are both allowed on the network and can both access the ...
0
votes
0answers
16 views

Startup application does not work on remote login [duplicate]

I have a machine running Ubuntu 14.04. I want to run a script on login, and I have added this script in the Startup Applications program. This works fine when I login from the same system, but when I ...
3
votes
1answer
57 views

scp syntax question

I'm having a little difficulty using scp to transfer files from a remote computer. The issue apparently has to do with the name of the directory the files are contained in. They're on a CD drive ...
1
vote
1answer
24 views

Can't ssh nor ping into and out of the system but internet is working

I'm new to Ubuntu. I just got a Odroid-C2 and I plan to use it as a Node.js server. I'm using the official Hardkernel Ubuntu Mate Image (should be version 16 or 14.x), and I need SSH Access to it. Not ...
1
vote
0answers
20 views

Git clone/push/pull through SSH freezes [closed]

Normally I use git with online repositories like github and gitlab through SSH using my rsa key to authenticate. I think that, 2/3 of the times I try to do clone/push/pull, git freezes. If I raise ...
0
votes
1answer
16 views

how to access the putty to ubuntu server

I am new to Ubuntu, I have it installed on my computer and I am trying to connect to my Ubuntu machine remotely through PuTTY. I am getting the IP address of the Ubuntu machine using ifconfig. I'm ...
1
vote
0answers
64 views

How to auto-login on Ubuntu 16.04 Server?

I have a server computer running Ubuntu 16.04 Server, and it is running headless, so it is rather frustrating to restart the computer and have to login before I am able to SSH into the server. I've ...
25
votes
2answers
50k views

Modify the SSH welcome message to include system IP address

I have had a couple of occasions where I was unable to remember the IP address for a given system but was, at the time, able to connect using the hostname. As an example, just now I wanted to set up ...
0
votes
0answers
8 views

Need assistance on understanding debugging MPICH executing on cluster

I am running into a few issues with the SSH and MPICH executing. From some previous questions that I asked, I was able to progress to a point where I executed the mpi_hello.c program. For reference, ...
0
votes
0answers
18 views

Cannot ping myself (127.0.0.1) or ping outside or ssh into my ubuntu 12.04 server

My server was working fine a few days ago. I was able to SSH in. Today all of a sudden I can't SSH in, but I'm able to access the console directly in order to troubleshoot the issue. I tried ...
0
votes
1answer
25 views

Getting “Too many authentication failures” from every ssh server I've been using

About two weeks ago one of the servers at my workplace started giving me this error and then another one. Now even my local server (on my home network) gives me this error too. What does this mean? I ...
20
votes
8answers
154k 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 ...
1
vote
1answer
25 views

need help with ufw

I am setting up ufw using ansible on a remote ubuntu server. I am initially setting up ufw with ufw enable policy allow to enable ssh access. After that I'm doing ufw allow from x.x.x.x to any port 22 ...
1
vote
0answers
28 views

SSH into Virtual Private Server connected to VPN

I have a VPS with Digital Ocean as well as a VPN account with Private Internet Access. I would like to be able to connect my server to a VPN in say, Switzerland, and still be able to SSH into it. My ...
1
vote
1answer
152 views

Can't ssh via hostname

My issue is that I can't ssh agains the hostname, during troubleshooting I did a host look up and tried to ssh via IP which worked. The error message I get is... Permission denied (publickey). ...
0
votes
2answers
566 views

display custom message on failed ssh server login

Is it possible to show a custom message only to users which failed to login into an openssh server? successful login > no message failed login > display message
0
votes
0answers
17 views

How to ssh into a remote server which has a shared IPv4 (NAT)

Im running Ubuntu 16.04 LTS and I have tried using the information given on #man ssh But I am a little confused and I tried many times and got this message ssh: Could not resolve hostname w-: Name ...