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

learn more… | top users | synonyms (1)

2
votes
1answer
52 views

take changes in file sshd_config file without server reboot

I change configuration in file /etc/ssh/sshd_config but got effect only after reboot server. How to take changes without rebooting server?
1
vote
2answers
43 views

How to restrict account access temporarily ubuntu

I need to temporarily lock accounts for couple of users on my Ubuntu server. What would be the best way to do this? Reason for doing this is a maintenance. However for some users the accounts need to ...
1
vote
1answer
53 views

ssh to Ubuntu Server hangs after 30 seconds of inactivity

Lets say I ssh to my 13.04 server from my Linux box and then vim file and do some text editing. If I pause for 30-60 seconds, considering what to type, then the terminal will hang. The cursor box ...
5
votes
2answers
331 views

Using mv & cp on a headless server (SSH timeout interferring?)

I've recently set up a headless server to back up a number of very large film & editing files. I SSH into the server and - following some best practice guides I found around - I've tightened ...
0
votes
0answers
16 views

Is it necessary to call `ssh-add` after login [duplicate]

I have my public key on the server, I have my personal key in ~/.ssh/identity. If I execute ssh-add and enter my private passphrase, I can ssh without a password. What I want is not to call ssh-add ...
1
vote
1answer
58 views

Is there any way to echo an ssh session to a local terminal session

I am starting a server via ssh from various locations, and i want the terminal printout to be able to be viewed locally on the server, is there any way to do this?
0
votes
0answers
15 views

sftp restriction and ssh problem

I configured a folder to be restricted to the individual user. sudo nano /etc/ssh/sshd_config Subsystem sftp /usr/lib/openssh/sftp-server Subsystem sftp internal-sftp Match Group s-user ...
0
votes
1answer
33 views

Is there any way to give a tag or nickname to a process so it can be killed invoking kill <tag>?

I have one Ubuntu 12.04 vps and I use git to upload code for a web server, when I push by git to vps I have to login via ssh to vps and look for the process by: ps -A | grep node I kill it once I ...
2
votes
2answers
2k views

no tty present and no askpass program specified with `ssh -A`

I'm trying the following command: ssh -A user@server 'bash -s' < mylocalscript.sh But get the annoying sudo: no tty present and no askpass program specified when the script reaches a sudo. ...
0
votes
0answers
15 views

connect to server does not have type

I tried to connect my ssh server on my local machine. I use ctrl-L to connect to server, but it does not have type and port to let me select, it looks like my system does not recognize my local ssh ...
0
votes
0answers
40 views

How do you set the ssh default directory?

I have installed the ssh server package and have tried to login to my server from a client machine which is windows system. When I connected to the server using sftp, the server copied to ...
1
vote
1answer
352 views

Question about ssh on 14.04 with Nautilus

When trying to connect via ssh with nautilus Ubuntu 14.04, if you do not specify the folder to which you want to access does not show me any directory. So if I want to connect to any folder system ...
0
votes
0answers
31 views

sftp transfer file to /var/www/mywebsite

I installed ssh and wanted to use sftp to upload the file. I use client machine connect to my Ubuntu machine. it connected and upload the file to /home/myuser/mywebsite, but not /var/www/mywebsite. ...
2
votes
1answer
232 views

Trouble using ssh and Avahi

Solved: make sure that libnss-mdns is installed! I'm having trouble using SSH'ing from my netbook to my desktop using a .local hostname. Every so often, I have to reset the router I use, which resets ...
0
votes
1answer
47 views

How to start bash process, disconnect terminal, then be able to reclaim process

Is there a way, in vanilla bash (no additional packages), to start a process, somehow detach it or send it to the background, and then pick it back up later? My specific use case is to ssh to a ...
3
votes
1answer
127 views

Multiple Connections through SSH

We have a server which we connect through and do remote tasks. However, around 4-5 people login with the same username and password. Can this situation cause anything weird?
0
votes
1answer
145 views

ERROR: when start-all.sh in hadoop & hadoop-env.sh~ has created automatically

I am installed Hadoop, following Michael noll's tutorial. When I start name node using as following command, hduser@ARUL-PC:/usr/local/hadoop$ sbin/start-all.sh I got response as, This script is ...
2
votes
1answer
66 views

Can't get server to respond to SSH

I am the admin of a private server and I'm pretty new to administration. SSH was working fine until I upgraded to 14.04. Something went wrong with the upgrade so I downgraded to 13.04. Now SSH doesn't ...
1
vote
1answer
23 views

Calculate time when commands are received at server

I'm trying to find the time delay of commands which are sent over SSH. I mean the difference between the time that command is sent from client with the time it's received by server. Is there any way ...
2
votes
0answers
309 views

SSH update to 14.04: The disk drive for / is not ready yet or not present

I am not able to restart my Ubuntu server after upgrade from 13 to 14.04. What can I do to make things work again? I tried to upgrade my server over ssh to ubuntu 14.04. When the installation ...
1
vote
1answer
46 views

kick user out in sshrc

I have seen tutorials for reporting suspicious logins (from the wrong IP) using /etc/ssh/sshrc. I would like to take it to the next level and kick out those users (close the ssh session immediately). ...
1
vote
3answers
103 views

What is the appropriate command line to connect through SSH?

I would like to connect to my remote machine through SSH command line, but I don't know what are the appropriate terminal commands. I always get an error "connection refused".
0
votes
1answer
48 views

SSH server display Motd instead of the Banner set in /etc/ssh/sshd_config

My version of Ubuntu is: Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise I am try to setup my ssh server in order to display some warning message in the ...
1
vote
1answer
20 views

Access to Ubuntu Server 12.04 offline

How to login in Ubuntu Server when server is offline? After start booting ubuntu screen show nothing (refresh rate is out of range). I try Ctrl + Alt + F1 and other and I still have not access to my ...
2
votes
1answer
165 views

How do I pass complicated shell commands over SSH to be executed remotely? Mine throw syntax errors or get interpreted locally!

I have a command like this which tells me if a system has a disk that's getting full (>=70% full): if [[ -n df -PTh|column -t|awk '{print $6 $7}'|awk -F"%" '{printf "%-9s %-5s\n",$1,$2}'|grep -v -e ...
0
votes
2answers
613 views

Accessing an SSH server after disabling SSH password authentication for root

When updating a server from 12.04 to 14.04, a wrong press of ENTER lead me to disable SSH password authentication for root (One of the options it mentions while updating through SSH). The whole update ...
0
votes
1answer
66 views

SSH “Permission Denied (Public Key)” Automatically re-occuring problem

I have a headless server with (until recently) working SSH and public key auth. I deactivated passwords and had a problem resembling the one in this thread, ie. upon SSH-ing into my server I get: ...
1
vote
2answers
131 views

Ubuntu server network autoconfigure failed

I'm novoice Ubuntu server user. Im using Virtualbox to install Ubuntu Server 13.10 While installation process i got message Network Auto Configuration failed I selected Continue Now my server ...
3
votes
1answer
48 views

How to properly invoke motd for SSH connections with PAM disabled

I have configured a nice motd message that shows me lots of relevant infos when I login to my VPS via SSH. As password authentication is disabled in sshd_config I would also prefer to disable PAM as ...
0
votes
0answers
48 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: ...
0
votes
3answers
143 views

How to remove offending key in git when you try to push your chanes?

I've done tons of search and tested different solutions, but gain no success! When I want to push my codes, I receive the following error: Warning: the ECDSA host key for 'git.mywebsite.ir' ...
0
votes
1answer
26 views

ssh-copy-id ubuntu: permission denied after deleting .ssh

Few weeks ago I generated my SSH keys, registered my public key to the server etc etc. Everything went perfect. Now I wanted to generate an other couple of SSH keys on another machine (on ubuntu) and ...
0
votes
0answers
66 views

SSH Tunneling in Ubuntu

I previously have been using Bitvise in Windows to do tunneling with SSH. But now I try to tunnel in Ubuntu with SSH with PAC, terminal, and putty, but I get this message: ...
0
votes
1answer
779 views

Cannot connect to my local ubuntu file server with SSH SFTP or Samba

I have a Ubuntu Desktop install [Ubuntu 14.04] that I am using as a server for my movies and photos so I can always be backing up via CrashPlan. I have this server setup with SSH and Samba so I can ...
1
vote
2answers
757 views

how to install the iso file of ubuntu 14.04 into VirtualBox in means of command line, which is installed in the linux server from windows using putty

This situation is somewhat complicated! I use win7 os and I have to work on the Linux server by the SSH client, PuTTY. Right now I have installed the VirtualBox into the Linux server in means of ...
0
votes
1answer
54 views

Nautilus multihop ssh

I would like to use the nautilus (or any other usable GUI file manager) to work on Virtual machine. This VM is running on a remote server, and I can't reach it via ssh from my computer, I have to ...
0
votes
0answers
39 views

Permission denied (publickey,password): How to remove a password from an embedded device

I am trying to connect to an embedded device of mine through ssh. It's a FOX G20 V board. But I am having a hard time connecting because it always asks me for a password (it didn't used to before). ...
0
votes
1answer
150 views

PROBLEM :: Enable SSH for hadoop with new key

I followed michael noll's tutorial for installing hadoop, I created hadoop user as 'hduser' and generated key, but I am stuck in here, when i try to enable ssh access with generated key by using, ...
1
vote
2answers
91 views

Attempting to setup Ubuntu 12.04 SSH Server: -bash: /etc/hostname: Permission denied

Attempting to setup an SSH-server running Ubuntu 12.04. Went to "HowToForge" to scout for potentially advanced or knowledgeable advice upon how to accomplish this, then I ended up running into a ...
2
votes
0answers
59 views

Running app from the SDK to a nexus 4 phone produces ssh_exchange_identification: Connection closed by remote host error

I have before successfully run apps on this device from the SDK. Now the SDK is giving me an error: [10:27:08] Started /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app [10:27:09] ...
0
votes
1answer
37 views

How to get SSH Login Address on Linux Terminal while working on many tabs [closed]

This will be very helpfull while working on multiple SSH session at a time
2
votes
2answers
112 views

Unable to connect via SSH: port 22 error

I have two machines connected via the Ethernet cable. One machine is running Mac OS X , the other Ubuntu (13.10). I am currently able to connect to the Mac via SSH. However when I try login in on the ...
1
vote
1answer
3k views

SSH Permission denied (public key), but root ssh works

I'm trying to setup ssh access for a user account that I created with chef on a digital ocean ubuntu 12.04 server. I had the options set in digital ocean to automatically copy my mac's ssh key when ...
0
votes
0answers
33 views

SSH keys: How to start from scratch without reinstalling anything

I already have SSH functioning well with my server, to achieve this I have made edits to sshd_config and imported keys to my server. I am now planning to rejig my security, and would like to ...
0
votes
0answers
54 views

unable to connect local server with ssh?

i'm using ubuntu 13.04 64-bit. when i'm trying to connect with the local server it gives me following message and asking paasword even though it is configured with server. ...
0
votes
0answers
11 views

Is there a way so show mounted servers in the Unity launcher

I connect to several servers, which when mounted show up under network in Nautilus, however they don't show up in the Unity launcher. Is there a way to make them show up there just like the normal ...
0
votes
0answers
14 views

Cannot scp/rsync into live cd [duplicate]

I'm trying to scp into a box running 12.04 32bit livecd. The machines are connected to same switch & can ping each other just fine. I use the usual args, eg- scp -rp ...
0
votes
0answers
180 views

Cannot ssh my server after reboot

I have a linux server at my mom's house that I access through ssh from my house. It has been working fine until I rebooted it tonight; I actually rebooted it twice and it went fine and after the ...
0
votes
0answers
32 views

How to change operating system to Ubuntu on a VPS?

Apparently Zimbra is supported and recommended for Ubuntu 12.04. Unfortunately my OS of choice, Debian is not officially supported. So in order to upgrade and hence patch the much needed security ...
2
votes
2answers
409 views

ssh -L (error: bind: Address already in use)

Pretty simple, I know that this has happened to me before. Couldn't find a good answer on AU. I was running an ssh session with ports bound: ssh -L 3000:<server_name>:22 I just lost my ...