Tagged Questions

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

learn more… | top users | synonyms (1)

-1
votes
1answer
99 views

I'm trying to run an executable file via ssh but its saying “no such file or directory”

I'm trying to run an executable file via ssh. its saying "no such file or directory" but the file exists. What i'm doing wrong? Sorry, i'm a noob with linux root@v-8966:/home/talisman/db# ls -l ...
1
vote
0answers
779 views

Can't change ssh port (Trusty 14.04)

I've been trying to change my ssh port without success and none of the suggestions I've found did the trick for me. I'm on Trusty 14.04 at Rackspace (upgraded from Precise). This is the sequence of ...
0
votes
0answers
324 views

pam_systemd delays SSH login - required?

On our Saucy servers (13.10) we are seeing long delays when logging into the systems via SSH. I figured out it is related to the line session optional pam_systemd.so in ...
1
vote
3answers
222 views

Error message; [IP]in-addr.arpa has no PTR record: [duplicate]

I'm trying to figure out how to find the hostnames of computers on the LAN network. I put in the known address of a computer, but I'm getting an error I don't understand. ...
2
votes
1answer
99 views

Host to Host SSH Tunnel

I want to create a full SSH tunnel between two Ubuntu 12.04 servers, (I found out about SSHuttle but because of a bug in the handling of file descriptors it will crash under high load) very much like ...
6
votes
1answer
1k views

How did this exploit allow write access to root owned files?

For a computer security assignment at my university I need to find and understand an exploit that works on ubuntu 10.04. I have already found and tested one on an Ubuntu 10.04 machine (that I own) ...
0
votes
0answers
42 views

404 on apt-get update [duplicate]

I just did an sudo apt-get update on my Ubuntu 12.04. I wonder how to address the following 404 errors? I am using only PuTTy to connect to my VPS Err http://ppa.launchpad.net precise/main Sources ...
0
votes
1answer
1k views

How do I set up a local SOCKS proxy that tunnels traffic through SSH?

Assume I have access to an SSH server that supports tunneling, and I am on a PC that is running *ubuntu, how do I set up a local SOCKS proxy that tunnels the traffic through that SSH server before ...
0
votes
0answers
9 views

How to connect to an ssh server in order to access files on a LAN PC? [duplicate]

In Trusty (14.04), Nautilus (1:3.10.1-0ubuntu9) no longer gives option in ‘Connect to server’ to specify type e.g. ssh & user/password. What is the workaround, without using the CLI, to connect to ...
9
votes
5answers
58k views

How to enable ssh root access on Ubuntu 14.04

I´d like to enable the ssh root access on Ubuntu 14.04. Editing the /etc/ssh_config (PermitRootLogin yes) didn't affect anything.
0
votes
1answer
86 views

Xephyr on Ubuntu 14.04 via SSH is buggy?

I tried Xephyr on Ubuntu 12.04.4 via SSH(putty+Xming) X-forwarding running WM(fluxbox, XFCE4), which runs well. However, with Ubuntu 14.04 (server), Xephyr got "Caught signal 11" and quit on the test ...
1
vote
2answers
229 views

install ubuntu in a virtualbox vm on ubuntu host through cli (ssh) only?

I just installed a new remote server with ubuntu 14.04, added an SSH server so I can control the server remotely through SSH. No GUI involved. Well, the server has a GUI, but I have no physical access ...
0
votes
2answers
212 views

ssh server: allow only login with key

I know, this question has been ask several times. But Im trying to setup a ssh server. I thought the critical setting is that I have to set PasswordAuthentication no. But I already did so and ...
3
votes
2answers
134 views

Will an upgrade of Ubuntu to a new LTS change SSH host key

I have recently upgraded my computer from ubuntu 12.04 to 14.04 LTS (in one step). After the upgrade, however, I got well-known warnings like ...
2
votes
0answers
297 views

How do I chroot an SSH user to their home directory?

I don't want to use jailkit. My OS is Ubuntu 14.04. I am setting up a user account on my server for a kid I tutor, so he can run a minecraft server. He will be using putty to ssh into my server, and I ...
0
votes
1answer
102 views

terminal user and guest account logged into gui interacting with each other

What we have: I want to connect to a remote linux box via ssh with an account with superuser privileges. This linux machine has one current logged in user who is using a GUI on a guest account. ...
2
votes
1answer
777 views

Can SSH with IP but not host name?

When I SSH directly to the server's IP address, it works. (ssh [email protected]) For reference, here is the resulting prompt: michael@noranetserver:~$ However ssh-ing by name doesn't work like ...
0
votes
0answers
151 views

Access ubuntu server over VPN

I have remote server(ubuntu server). I access remote server by ssh as ssh root@IP_OF_SERVER, then I have setup a webapp running in server and access it by IP_OF_SERVER:80. Every thing is working fine. ...
0
votes
1answer
166 views

Permission denied to to transfer files from remote server

Dear ubuntu community when i Copy the file from remote server (After login in to server from my Home computer) using scp commands as follows scp -v CNTPEPRSOLIONSfullcputest.log [email protected]:~/ ...
1
vote
2answers
1k views

bash: /home/user/.ssh/authorized_keys: No such file or directory

Create a ssh key: Command: ssh-keygen -t rsa –P "" Moving the key to authorized key: Command: cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys bash: /home/user/.ssh/authorized_keys: ...
1
vote
0answers
365 views

User has no permissions in sftp

I installed LAMP in my Digital Ocean droplet. I have successfully logged in to SFTP. However, when I try to do anything in my /var/www/html/ folder it says permission denied. It may be worth ...
0
votes
0answers
77 views

How to setup an ubuntu VM running in windows azure to be connected to via ssh from 2 or more computers

I have an ubuntu VM hosted on Azure. When creating the VM, I was prompted to add a pem ssh key for authentication when I want to ssh to the VM. However, How do I set up this VM so that my other ...
0
votes
1answer
88 views

ssh authorized_keys : Configuring single public key for multipl hosts

How to use single public key for multiple hosts do i need to duplicate the entries in authorized_keys? or is there a way to do it as single configuration? For example: Key user@host1 user@host2 ...
0
votes
0answers
11 views

How to find the most requested page on a server?

I have an Ubuntu 12.04 server with apache2 that I am hosting 10 different sites on. Is there a ssh command or some way to find the most requested page on the server?
1
vote
1answer
2k 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
101 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
715 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
1k 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
615 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
4answers
2k 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
72 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
105 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
169 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
987 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
76 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
344 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
50 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
116 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
645 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
82 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
24 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
40 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
6k 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
27 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
86 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
814 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
39 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
678 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
60 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 ...