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
620 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. ...
0
votes
0answers
1k 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 ...
0
votes
1answer
392 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 ...
0
votes
1answer
144 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 ...
0
votes
1answer
527 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
2answers
879 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 ...
0
votes
0answers
115 views

Help with ssh between machines on local network [duplicate]

I have two machines on my local network (both with Ubuntu 10.04) and I want to ssh (and rsync) between them. The two machines have fixed IPs 192.168.0.15 and ...17 Both computers frequently ssh ...
0
votes
1answer
200 views

Ubuntu Server 11.04 update 404 errors

I am an ubuntu amateur trying to set up an ubuntu 11.04 server on a tower. I want to install things like ssh client/ server and gksudo on it but I get errors when trying to do so. I tried to update, ...
0
votes
1answer
667 views

tunneling x11vnc through ssh on a non standard port to ubuntu computer tightvnc

I have been stuck with setting up my virtual desktop on my ubuntu laptop. I am running ubuntu to ubuntu with x11vnc I start the process on my laptop as follows: " ssh -L5904:localhost:5900 -p Port ...
0
votes
1answer
393 views

SSH password problem

i have connected 2 machines via Ethernet cable, 192.168.1.2(master) & 192.168.1.3(slave). I can ssh both and even ping command also works fine. Trouble is while running Hadoop & Nutch i have ...
0
votes
1answer
2k views

SSH connection to AWS EC2 servers terminate often

I am using ubuntu os as i am trying to cloud machine. SSH connection to AWS EC2 servers terminate often, what configuration needs to be modified so that we could minimize the remote shell from being ...
0
votes
3answers
5k views

Script for remove files using SSH

I have a script that uses scp to backup some files of my PC into another PC connected in LAN, something like that: #!/bin/bash scp some_directories host@ip-address:backupFolder/ I use a public Key ...
0
votes
1answer
1k views

SSH Key / Password Issue

I am running Ubuntu 12.04LTS. I am trying to upload to github via SSH. I generated my key using keygen, and made sure that github has the key as specified. However, when I try to ssh in I keep ...
0
votes
1answer
1k views

Teamviewer will not connect to Ubuntu 13.04 host

Teamviewer on the Windows 7 machine gets stuck with the "Connecting..." message when trying to connect to my Ubuntu host. I have correctly (to my knowledge) set the --passwd and gotten the daemon ...
0
votes
1answer
450 views

How to configure ssh authentication with ldap without password

I need to setup ssh authtication with ldap without using password like amazon EC2 instance with pam file. Also if I need to use this with multiple servers, How can I configure that?
0
votes
2answers
2k views

Transfer files between ubuntu machines without SSH [duplicate]

How do i transfer files between ubuntu machines without SSH
0
votes
1answer
828 views

Accidentally ran “sudo chmod a+rx ~”

I accidentally ran sudo chmod a+rx ~ on the system root rather than sudo chmod a+rx myfolder... I ran sudo chmod -R a+rX myfolder/public_html then accidentally ran sudo chmod a+rx ~ instead of ...
0
votes
1answer
349 views

Match directive breaks SSH

On my Ubunut server 12.04 LTS machine, I try to add a user with only sFTP or FTP access. Let's call him 'Jim' for now. Jim only needs access to a directory /var/www/example.com. So far I've tried ...
0
votes
1answer
521 views

Can't login to VPS with newly created account via ssh

Recently I've bought a VPS Server. I decided to install Ubuntu on it. I want to set up a git server on it but I have problem. I've read I should create new account for this purpose. I've already ...
0
votes
1answer
262 views

Remote Play Movies/Music

I have a basic understanding of using SSH, as in that it allows you to access files on a remote server from a local client, to run on the remote server. However, what I am trying to achieve is a way ...
0
votes
1answer
79 views

Install netbeans from a local computer to a remote workstation

I've downloaded the netbans.sh file from its official website and I'd like to install it to some workstations without having to copy it in any of those workstations. Can I remotely ssh connect and ...
0
votes
1answer
171 views

Java doesnt work if used from gnome

When I try to install something( which uses InstallAnywhere) from terminal in gnome I got something like that: Preparing to install... Extracting the JRE from the installer archive... Unpacking the ...
0
votes
1answer
249 views

Command Prompt Stopped Listening to Me; Feeling Rejected

I'm SSHing into my headless Ubuntu 11.04 Server using PuTTY, and I'm in a byobu session. I started a mysql_safe daemon because I was trying to fix a password problem I was having with mysql. I was ...
0
votes
3answers
2k views

Can i configure ubuntu to append a domain to the end of an ssh hostname request?

I have many servers and they all end with the same servers.company.net, so for example vded-xx-001.servers.company.net, and was wondering if it is possible to make it so i can just type the ...
0
votes
1answer
1k views

find -exec grep does not work

I need to use a find command in a script with ssh and grep together. Something like this: ssh user@host find /var/log -type f -mtime 1 -exec grep -i -F error warn {} \; But it says, that there is no ...
0
votes
1answer
394 views

How to rsync between home computer and computer inside another network?

All the computers I use run Ubuntu. To work from home, I SSH from my home computer to my lab computer as follows: # First a port knock is needed joe@homepc> telnet ssh.university.edu 9000 # Next ...
0
votes
1answer
390 views

How to setup a file sharing service from ubuntu server over the net?

I have Ubuntu server edition that I ssh form on my mac and windows computers. I would like to know if there is any service I can install on my server that allows me to save and access my files from ...
0
votes
1answer
128 views

Need help troubleshooting Apache inside VM

I'm hitting a wall troubleshooting this. I feel the problem is either due to my lack of networking skills, or a basic knowledge of configuring Apache. I'm hoping I can shed some light on my setup by ...
0
votes
0answers
1k views

What to do after 'chmod -R 777 /'? [duplicate]

I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as ...
0
votes
1answer
260 views

how to use expect with bash

I Have created a shell script as given below.This script will login to a remote server as a normal user then switch to root user for creating a directory.The script is as given below. ssh -t ...
0
votes
1answer
563 views

Ubuntu Desktop with GUI and SSH access

I used to have Ubuntu Server 12.10, and I used to connect to it with my Windows PC using SSH. All I had to do was turn my server computer on and next thing I could do was run my PuTTY and connect to ...
0
votes
2answers
1k views

How to change the default user name from ubuntu to something else on EC2 AMI

How can I create a new Ubuntu AMI so that when a new instance is created the SSH credentials are copied under a different user than ubuntu (e.g. /home/administrator/.ssh/)? In short, I need to be ...
0
votes
0answers
44 views

Can I store a password in a bash script? [duplicate]

Is there some way to store (for example hashed etc.) secured password in a script that will be used during connection to server? Storing password and username as clear text in code for me is quite ...
0
votes
1answer
186 views

Used SSH to establish internal connection to another virtual machine; now I can't change it back

I logged onto my server from a remote computer via SSH using its hostname server.domain.com. The Samba server's IP is 192.168.5.33. I then used the ssh command to connect with the local FTP server ...
0
votes
1answer
571 views

How do I get sound back after connecting with x2go without rebooting?

When I connect remotely over NX using x2go, for some reason, I get a pop-up on the server asking if I want to permanently forget the sound devices that have just been removed: The devices are not ...
0
votes
1answer
328 views

I can not log into another Linux machine

I can not log into another Linux box and I have tried using this form ssh my-user-name@my-server-ip but it returns the error after 3 tries to permission denied (publickey,password)
0
votes
1answer
1k views

SSH Commandline - Ubuntu x64 dedicated server raid-0 array creation LOG [ After reboot : Disk /dev/md127 doesn't contain a valid partition table ]

I followed this tutorial but failed as it seems, i tried for a couple times, here i throw the towel: ht-tp://www.rustyrazorblade.com/2012/07/setting-up-raid0-in-ubuntu-12-04-in-aws-high-io/ ...
0
votes
2answers
5k 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
votes
1answer
332 views

Can I install an Ubuntu app from remote laptop?

Is their a way to push/send and ubuntu-app/deb-file to be install on my Ubuntu laptop? Usecase... Laptop 1. I find an app, I need to install! But I´am not at home. I just push it to my other ...
0
votes
0answers
14 views

SSH Does not start on boot [duplicate]

Possible Duplicate: How to disable X at boot time? I just dd the Ubuntu 12.10 Windows Installer, did the updates, and upgraded. sudo apt-get update sudo apt-get -y upgrade sudo apt-get -y ...
0
votes
1answer
278 views

Setting up putty key

really hope you can help me here, i have a 12.04 server and a linux pc at home which i set up ssh keygen for with no problems, i want to now gain laptop entry to the server [win7] using putty, i have ...
0
votes
1answer
483 views

Trying connect by SSH and get “access denied” by localtunnel

Hey I installed localtunnel - http://progrium.com/localtunnel/ and I tried connect from my laptop using putty(I even unckecked attempt gssapi authentication) and I receive login as: hsf ...
0
votes
1answer
261 views

ssh multiple clients

Hi I am new to ssh server but I have successfully been running it on other Ubuntu 12.04 computers. The latest computer I set up with openssh-server only seems to allow one shared connection between ...
0
votes
1answer
1k views

Can't ssh into my ubuntu vps

I have a vps running Ubuntu 12.04 LTS and I have installed openSSH but I can't connect to it with putty. I get error saying Network error:Connection timed out. How to fix this?
0
votes
0answers
311 views

Unmet dependencies when trying to install openssh-server [duplicate]

Possible Duplicate: How do I resolve unmet dependencies? I am running sudo-apt get install openssh-server on Ubuntu 12.04 64 bit system. It is giving me the following output. $ sudo ...
0
votes
0answers
14 views

Resizing a partition on remote server via command line [duplicate]

Possible Duplicate: Resize Disk Partition on Remote VM Server Is it possible to re size the filesystem (ext4) partition on a remote server (running ubuntu server 10.04 or 10.10) by using ...
0
votes
1answer
125 views

Is there any way to recover my sudo power? [duplicate]

Possible Duplicate: Regain Sudo rights after removing from admin group I created a new user and changed the ssh config. I forgot to add root permission to the newly created user. Now I ...
0
votes
0answers
24 views

ubuntu Networking [duplicate]

Possible Duplicate: How to log on to a Ubuntu server; from windows with a plain gui I want to connect to Ubuntu Linux machine for file transfer . one is at my office connected to the ...
0
votes
1answer
1k views

AutoSSH for a robust tunnel

I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...
0
votes
1answer
219 views

How to create a VNC server such that each user can have access using its own user/password combination

I would like to know which software of what is the procedure to create a VNC server such that each user can have access using its own user/password combination ?