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

pipe not working for wireshark

Im trying to use wireshark in my test enironment where I have two VM's with ip address 192.168.0.1 and 192.168.0.2 Im trying to monitor the data of the machine 192.168.0.2 from the machine at ...
1
vote
2answers
3k views

edit text file with sudo via ssh and script

I want to modify /etc/hosts (and later also hostname) via a script and ssh. So I'm logged in via ssh and this works: sudo nano /etc/hosts It shows the remote hosts file in nano. However I was ...
0
votes
1answer
178 views

ssh loing to a machine timed out

I'm trying to ssh to a machine, but it hangs and gets timed out. $ ssh root@<ip address> -v OpenSSH_6.1p1 Debian-4, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data ...
2
votes
3answers
629 views

SSH and SCP help

I'm a university student, and very new to ssh and scp... and new to programming. The newest assignment given to us requires accessing libraries that are only on the student server at university. To ...
2
votes
1answer
601 views

how to download a link in links using axel/curl?

shortly, how can I make lynx/links use axel/curl for downloading files that i want to store in my hard-disk?? Longley: I'm a server-manager and always used my ubuntu system and putty so i could ...
1
vote
1answer
1k views

Cannot ssh with publickey into Ubuntu 13.04 cloud instance

I'm running Ubuntu 13.04 in an OpenStack instance. When I created the instance, I specified a keypair, and I may ssh into the box with the command: [laptop]$ ssh -i keypair.pem ubuntu@my-instance ...
0
votes
1answer
484 views

SSH to Ubuntu machine doesn't work when I get out of home

When I tried to connect to Ubuntu 13.04 from OS X via SSH in home, I can successfully connect to it. But I just got to know that when I tried to connect while I'm out of home, then I got the following ...
1
vote
1answer
790 views

Transfer a file from remote server to remote server

I am trying to transfer a file from Site5 to Godaddy web hosting account. The godaddy webhosting account is the one that comes free with the domain, so no ssh acccess. sudo scp -v ...
0
votes
1answer
1k views

error: environment has no access-key or secret-key

I just installed a juju enviornment, which required me to make this ssh-key prerequisite for later on, ssh-keygen -t rsa -b 2048 But I think I made a fatal error by leaving the file to save the ...
1
vote
1answer
960 views

How to setup two virtual machines to connect via openssh?

I have host computer mac running two Ubuntu as guest machines. I would like to set up ssh connection between these two virtual machines. Both guest machines are equipped with open-ssh server/client. ...
3
votes
2answers
2k views

How can I use grep to view only part of BFGMiner which is being run in screen over ssh?

Okay, bear with me on this. I'm using a program called BFGminer, which hopefully you know is a bitcoin mining program. Anyway. It updates every second a few lines that look like this: DEVICE 0: xxxx ...
0
votes
1answer
2k views

How to disable SSH Access & SFTP access but keep ftp access?

I don't know that much yet about servers so I am stuck right now, but I was wondering if its possible to disable SSH access & SFTP for a certain user but allow the ability to use FTP access and ...
3
votes
1answer
279 views

Sharing SSH keys during a Juju Charm deployment

I have a Juju Charm for specific cluster service. In manual deployments, the password-less SSH access for the cluster administrator is enabled between the control-system nodes and the other nodes in ...
-1
votes
1answer
24 views

about ubuntu desktop12 ssh

In Ubuntu, ssh server is ok. At ps -e | grep ssh has hdserver. But can't connect ssh from Windows. Wrong info with "time out connect". The server is in the same LAN. In Ubuntu, I use ssh name@ip ...
7
votes
4answers
2k views

byobu and ssh-agent

byobu cannot connect to ssh-agent socket well. actually I can make just one connection via ssh-agent but if I try to establish another ssh connection using the agent, it doesn't work. I've tried ...
1
vote
1answer
288 views

How to reboot ubuntu server machine from outside

I am at the office right now and my ubuntu server is at home. I was connected to my server few minutes ago when I got this message : "ssh: connect to host port 22: No route to host" Maybe this is a ...
3
votes
3answers
510 views

SSH key plus password

I see there are continuous attempts to login into my computer via ssh using usernames, like joan florin root from 60.169.22.118, -how can I forbid ssh access and only allow it to users with specific ...
1
vote
3answers
6k views

SFTP upload script, there is no key

I need to upload a file to a server. The server uploads using SFTP. After authentication, any command execution is forbidden, so I cannot SSH directly in, I need to get directly into the SFTP ...
1
vote
0answers
2k views

Force lease renew for leases in /var/lib/misc/dnsmasq.leases

I have a Raspberry Pi connected to my laptop (running 13.04 with Gnome) via direct ethernet using these instructions. Normally, the RPi will connect and work just fine. However, if I disconnect the ...
1
vote
1answer
719 views

Wake on demand (WOD, WOL)

I like to have my homeserver (running Ubuntu) automatically powered on when I am connecting via SSH from the internet. I successfully configured the server to listen for Wake On LAN (WOL) magic ...
2
votes
1answer
2k views

Script for initiating ssh connection for port forwarding, and then execute vnc viewer on client's computer

I would like to write a script that gets as an argument a local computer ip (on the network of the ssh server), and forwards port 5900 on the client's computer to that ip:5900 on the server network. ...
1
vote
1answer
81 views

SSH Keys on multiple operating systems

I have a Ubuntu Server 13.04 and I currently use password only SSH login. After seeing how many attempts were made to maliciously login to SSH I need to switch to key based authentication. I have ...
8
votes
5answers
17k views

Unlock all private keys on Ubuntu, entering password only once at login

I login to Ubuntu 12.04 using a password. Later on, when I use my browser(Chrome), I'm asked for a password to unlock the keychain so that the browser can access my saved credentials for various ...
7
votes
2answers
10k views

gsettings not working over ssh [duplicate]

I'm trying to change Unity Launcher icons on a remote computer with command: gsettings set com.canonical.Unity.Launcher favorites ... and it works perfectly But when I do ssh 127.0.0.1 gsettings ...
1
vote
1answer
1k views

PHP, ssh2_exec is not working properly

I have a shell script makedir.sh as given below. sudo -H sh -c ' mkdir /usr/local/testdir; if [ $? -eq 0 ];then echo "Successfull"; else echo "Unsuccessfull"; fi ' I ...
2
votes
0answers
643 views

ssh-agent running but not working when logged in using PuTTY

When I am using the terminal directly on the machine running Ubuntu 13.04 ssh-add works fine using the process: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch ...
1
vote
0answers
153 views

Ubuntu server 13.04 ssh keygen issue

I want to be able to use github and their service hooks to deploy sites and apps to the server. To do this I need to create an ssh key and put the public key into github. I go through the ...
4
votes
3answers
14k views

using gedit through ssh connection - should I have gedit installed on the server?

I wanted to try out using graphical tools over ssh. Just to learn a new thing :) so my understanding is this, I connect like this: ssh -port -x user@server But I'm running ubuntu server so it has no ...
2
votes
0answers
454 views

Server in LAN with two network cards, can't telnet / ping to the second even if it works

I have an issue with an Ubuntu 12.04 LTS (updated) server. For reasons too long to detail, it has got one eth0 interface assigned to 192.168.1.9 and one wlan0 interface assigned to 192.168.1.10. Both ...
3
votes
1answer
408 views

Setting up catch-all with iptables

I'm trying to setup a iptables which only allows traffic in via ssh and a catch all that blocks everything else coming into computer. The iptables -L output looks like this Chain INPUT (policy ...
3
votes
1answer
296 views

2 sshd configurations 1 for internal and 1 external

How can I setup open ssh server so that if i'm ssh'ng from a local lan I want it to be via port 22 but if I'm coming externally its via port 12345 for example. Then for external access I'd like some ...
5
votes
3answers
8k views

default shell for remote commands through ssh

I have the following setup on my ubuntu 10.04 box ~$ echo $SHELL /bin/bash ~$ grep $USER /etc/passwd ubuntu:x:1000:1000:Ubuntu,,,:/home/ubuntu:/bin/bash However, when I run a remote command, zsh ...
0
votes
1answer
464 views

chroot sftp not able to login

I am trying to set up sftp access on my server and chroot the users into a samba share. When I edit /etc/ssh/sshd_config and add Match Group sftpusers ChrootDirectory /srv/samba/share ForceCommand ...
2
votes
1answer
2k views

SSH Tunneling Suddenly Not Working

I have a home PC running Ubuntu 12.10. In order to make sure that my data isn't being monitored in public, I had in the past used a subscription VPN service. I decided to research alternatives and I ...
0
votes
1answer
176 views

How can I make it so when I ssh myself my system info shows up when I log in?

I have a vds and when I log in my system info shows up and I'm wondering how I can do this with my desktop that's running 12.04 LTS because I love the feature. Here is a picture that shows the ...
3
votes
1answer
1k views

Why are my LDAP logins slow?

I have been running this server with LDAP for about 6 months. The logins have always been fast. However, starting this week logins are taking 1-2 minutes to complete. This include ssh, sudo su, and ...
0
votes
1answer
714 views

inotify in a remote shell and get the output back

My problem is very similar this one: inotify not fast enough Except I am running inotify in a remote shell. I need to monitor for file change on machineA from machineB. machineB has ssh access to ...
0
votes
1answer
1k views

Upload to localhost with ssh, locked account

I can access the files on localhost in my FTP programme, but the account is locked, so while I can see them and view localhost in my browser, I can not edit, download or upload any files. I setup ssh ...
1
vote
1answer
361 views

sshplus config file

I just recently lost my old hdd and put a new one in my machine and have been getting back to where I was before this whole mess and now I can't seem to find clear instructions on how to make a config ...
1
vote
2answers
511 views

stopped ssh, need way to connect again

i rented a virtual machine with ubuntu server. I logged in via the ssh-command in the terminal from my ubuntu home pc. Before i exited, i accidentally typed "stop ssh" in the terminal, because i ...
6
votes
2answers
22k views

Copy files from a server via ssh to dropbox.

I have a user in a linux server (Debian) with ssh access, and have some files on it. I need to copy the files to my Dropbox. but I donot want to copy to my Dropbox in my PC and Laptop, I want to first ...
0
votes
2answers
1k views

Email Alert on SSH and SFTP Connection

Looked through other questions about email alerts on login but have 2 questions: Can the alert be triggered by users connecting via SFTP as well? (I tried this before and it only triggered an email ...
1
vote
1answer
3k views

Difference between transmission-daemon and service transmission-daemon

I made this question so as to make myself clear some things about linux, since I'm relatively new. I have and Ubuntu Server machine, which I access via ssh. I want to use it to handle my torrents from ...
1
vote
1answer
2k views

Installed Xubuntu desktop on Ubuntu 12.04 server and now can't connect via SSH

I have a ubuntu 12.04 server that I could connect to fine using ssh over the internet. I installed the xubuntu desktop on it, didn't change any settings, then suddenly ssh stopped working. I can ...
1
vote
1answer
844 views

SSH—Can't reach iphone root folder

When using Nautilus Connect to Server to connect with an iPhone over SSH, it takes me to a location that just has the Media and Library folders. Their location is ...
0
votes
3answers
797 views

How to use open ssh key?

I got a ssh key in ppk format. I found some manual to convert it to an open ssh key. Now I just want to connect to the server using this key. The manuals I find are all about creating one. Do I have ...
13
votes
1answer
11k views

Change terminal colour based on SSH session

Is it possible to automatically change the color of the terminal based on which server I am connected to through SSH? For instance, when I fire up the terminal it has the standard colors defined ...
1
vote
1answer
957 views

SSH into shell, get 'Error: Can't open display: (null)'

I don't want to open an X11 Session or what not, just to open up a shell to a PC. I type in Terminal: ssh -p 1337 localhost After entering my password, I get the banner, last login, and then the ...
12
votes
3answers
9k views

Why won't ssh-agent save my unencrypted key for later use?

Every time I SSH into another server from our headless Ubuntu server I am asked for the password to my key file. Even if I have previously connected to the server. Do you have any idea why this ...
1
vote
1answer
4k views

Is it just me or were people trying to hack my server?

Is this kind of hacking attempts normal for a regular non-important server? I just checked my auth.log today. Jul 1 15:02:22 webserver sshd[5094]: Did not receive identification string from ...