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
418 views

How to convert rsa key to pem using X.509 standard

I've converted an rsa key to pem using the following command openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem However when I try uploading this key to my ubuntu server hosted on Azure I ...
2
votes
4answers
64 views

Protection For rm

I sometimes work with my server over ssh. I don't want to lose anything because of an accidental rm. Is there a way of creating a trashbin for my server? I know it sounds stupid, but I just want to ...
0
votes
1answer
312 views

Openssh-server error E: Sub-process /usr/bin/dpkg returned an error code (1)

trying to install openssh-server on my system i got this following errors: root@user-desktop:/home/user# sudo apt-get install openssh-server Reading package lists... Done Building dependency tree ...
2
votes
0answers
523 views

Not pinging with host-name and can't ssh using hostname [duplicate]

I have setuped a DNS server in Centos6.5 and its working with every client machines other than ubuntu, now i have issue with ubuntu While im trying to ping from desktop machine to DNS server as ping ...
0
votes
0answers
181 views

Could not connect to server - FileZilla over SFTP

I have Ubuntu 12.04 Server installed and also FileZilla in it. I can SSH and PING into my server but I cannot SSH using FileZilla Could not connect to server I have seen this post but there is ...
9
votes
3answers
1k views

Is someone trying to hack into my server? What can I do?

A few weeks ago I posted a question here about some ssh issues I was having with an Ubuntu 12.04 box. Fast forward to today and I am trying to allow someone else access to the machine, but they keep ...
1
vote
1answer
60 views

How to generate a strong key for SSH encryption?

I recently setup my first Ubuntu server, it's 14.04, and I'm trying to secure SSH. I've googled around for numerous guides and there are many good ones that go into great detail about how to setup a ...
1
vote
1answer
69 views

How to retain date stamp while copying to another PC

Similarly to How to maintain a file's 'last modified' date ? I need to retain the date while copying the file by Krusader or in a 'Home Folder' window to another PC connected by SSH. Is it ...
1
vote
2answers
62 views

Can I block root ssh access from external notwork, but not from the local LAN

OS: Ubuntu 14.04 I would like to root login from ssh locally, because backuppc needs that. I would like to block an external access with root login. Thanks
0
votes
1answer
308 views

Deluge headless not working at all

So i've created a home ubuntu server. Installed Ubuntu server 14.04 Selected install samba, mysql, lamp server, openssh server Now I am able to get onto the machine via SSH. *note: have not set a ...
2
votes
1answer
63 views

Detecting 404 Somehow

I keep my PC running at home. Sometimes, when I'm at work, my PC can't load the pages that I want to load. I have to ssh to it, and reboot/restart browser. It's really annoying and I'm trying to find ...
2
votes
1answer
57 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
44 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
55 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
341 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
59 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
34 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
16 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
42 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
384 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
251 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
128 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
152 views

ERROR: when start hadoop

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
67 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
24 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
329 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
48 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
174 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
655 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
67 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
142 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
52 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
158 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
29 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
67 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
828 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
807 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
56 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
40 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
151 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
93 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 ...