1
vote
2answers
47 views

How can I graphically open and display file at the client end in Linux over SSH connection?

I am using the xdg-open file-name command to open and display file at the user end, but can't graphically open and display file at the client end in Linux over SSH connection. So please help me to ...
0
votes
2answers
197 views

ssh passwordless, all is set, but connection timeout

I am trying to set up passwordless connection between two server, backup and prod. prod can connect passwordless without problem to backup, but if I try the opposite way, I just get timeout. prod$ ...
0
votes
1answer
66 views

SSH asks password when invoke it in script

I have one master and four slave computers. I generated rsa public/private key on master PC. Then I copied publickey (id_rsa.pub) to slave machines as authorized_keys. It doesn't ask password when I ...
1
vote
1answer
227 views

With VMware Workstation, how can I SSH from the host to a guest with NAT?

My host is Windows 7 with VMware Workstation 10. I am running an Ubuntu 12.04 guest that is connected to an NAT network. How can I set up the network so that I can SSH from the host to the guest? I ...
0
votes
1answer
52 views

How to login a server behind LAN via ssh

There is a server in a private company that has no public IP, it's IP is 192.168.x.x. And I know the company's public IP: 61.xx.xx.xx, Is there any tool or method can let me login to a server which ...
1
vote
1answer
127 views

History for this remote command => ssh username@xxx.xxx.xxx.xxx “echo foo”

2 Questions In the following command, does echo foo get logged anywhere on an Ubuntu server? # remote server us running Ubuntu 12.04 $ ssh ...
2
votes
1answer
745 views

Why am I getting permission denied (publickey) after chmod 600?

I got @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions ...
0
votes
1answer
95 views

Should I throttle my Ubuntu server that is on my home network?

I have just set up one of my old computers to be a web-server with Ubuntu 12.04.3. I was thinking that i should probably throttle/limit the bandwidth/speeds over ssh/ftp in order to not murder my ...
0
votes
0answers
166 views

phantomjs shell_exec from PHP doesn't work, terminal works fine

I can run the phantomjs command just fine from terminal, but from shell_exec, it only partially works. It's running phantomjs and the .js file, but it's returning page rendered without actually ...
1
vote
1answer
216 views

Adding a custom SSH port to Ubuntu 12.04 LTS through UFW

I am trying to configure a Ubuntu 12.04 based VPS and I have changed my ssh port from 22 to 803 and everything worked fine. After this I've installed UFW and now I can't login using SSH. Before I ...
0
votes
3answers
2k views

Not able to connect with server. Connection closed by remote server

I am trying to ssh remote server from my local server. But whenever i run ssh command: ssh root@x.x.x.x I get error: Connection closed by x.x.x.x Output of ssh -v -v -v -v root@x.x.x.x is: ...
0
votes
1answer
107 views

Environmental variables in login shells and interactive shells

I'm sort of confused of login shells and interactive shells. If I run ssh my_remote_server 'echo $HOME' I can get /home/shawk But when I run ssh my_remote_server 'echo $ANOTHER_VAR' I got a ...
1
vote
0answers
527 views

-bash: __rvm_add_to_path: command not found

As soon as I log in to my server with ssh I get the message: Last login: Wed Jul 17 16:13:07 2013 from foo.bar.net -bash: __rvm_add_to_path: command not found How can I fix that problem? My website ...
0
votes
3answers
163 views

Home Web Server Server Does Not Correctly Respond to SSH, MySQL, etc

I am attempting to setup my home web server (Ubuntu Server 12.04) such that I can ssh to it from outside of my home network as well as connect to the MySQL databases that I have created on it. ...
0
votes
2answers
1k views

Ubuntu 12.04 Permission denied (publickey,gssapi-with-mic)

I was cloning a github repository. I copied my id_rsa key from another pc to my /home/me/.ssh/ however this error shows up Permission denied (publickey,gssapi-with-mic). how would I solve this ...
2
votes
1answer
2k views

Install public key via ssh-copy-id for other users

ssh-copy-id can be used to install your public key in a remote machine's authorized_keys. Could the same command be used to install other users' public keys, if you have sudo ability? Update: both ...
1
vote
1answer
118 views

Alias stopped working after SSHing into Ubuntu machine

I am facing a problem with Ubuntu. Bash aliases like ll are not working if I am logging to my system from SSH. It works fine after writing bash as a command in the shell. It used to work. What ...
1
vote
1answer
125 views

ssh to Amazon EC2 Ubuntu server behind firewall

I ssh to an Amazon EC2 server and have just enabled the ufw firewall. This terminated my connection and now I can't ssh back in. I assume the firewall is preventing access. I tried rebooting but no ...
1
vote
3answers
1k views

Why is SSH not honoring my authorized keys?

I have 2 laptops at home, both running Ubuntu 12.04 (Desktop), and both using the same NetGear wifi router. I used a technique called "MAC binding" on one of the machines so that the router always ...
0
votes
2answers
3k views

How do I automatically gain root access with Putty?

Putty is set up to run like: putty.exe -load mysession -l myuser -pw mypass But it logs me in as myuser. For root access I need to type in the console: sudo -i Then it asks for my password ...
1
vote
1answer
273 views

Ubuntu/Nautilus - connect to server: is it possible to disable moving folders?

Sometimes I use Nautilus on Ubuntu to connect to a remote SSH server. I can browse folders easier and open and edit files remotely in my local editor. One thing I'm concerned about is accidentally ...
1
vote
1answer
6k views

Access Denied While Logging In Via SSH (Putty)

I'm having trouble logging in to my server via ssh (putty) on a new username that I created. During the initial installation of the server, I setup a username of "admin". While logged in as "admin" I ...
1
vote
1answer
265 views

scp over ec2 ignoring a directory?

Facing a problem while using scp to download a file from AWS EC2 instance(to which I have assigned a elastic IP),scp is ignoring the my-store folder. But when i access the ec2 instance over ssh, I can ...
0
votes
2answers
1k views

How can I install ssh on Ubuntu 12 without internet

I need to install ssh offline on a computer which doesn't have the internet. Is there any package to do it or i need prepare one? How can I prepare? OS is Ubuntu 12
1
vote
1answer
56 views

Is there any way to recover my sudo power?

I created a new user and changed the ssh config. I forgot to add root permission to the newly created user. Now I need to undo my changes in ssh config. Is that possible without any sudo command?
2
votes
1answer
3k views

How do I install SSH in Ubuntu?

I am using Ubuntu 12.04 and am trying to install SSH using the below command: [root@avi ~]# sudo apt-get install ssh However I am getting this error: Reading package lists... Done Building ...
2
votes
2answers
4k views

clean up hard drive Ubuntu 12.04

Hi i am wondering how do I clean up and remove old files that are taking up space? In Ubuntu 12.04. I have only ssh interface (terminal interface).
2
votes
4answers
8k views

How can I remove the ssh last login info?

Whenever I log into a server using ssh. The prompt gives me "last login" information. I was wondering where this information comes from. How can I remove this record so when someone else log into the ...
1
vote
1answer
1k views

Changing IP settings via ssh in Ubuntu. What should be done?

I've hear mixed things about how to handle setting IP parameters in Ubuntu. There's several sources that say if a GUI is installed like KDE or Gnome, that you should only use the network manager to ...
5
votes
5answers
14k views

How to use public-key ssh authentication

I have 2 ubuntu 12.04 (beta) servers (node1 and node2) and want to establish passwordless root access between them. Other users should not have access to other boxes. Also note that ssh default port ...
2
votes
3answers
1k views

Can only ssh into Ubuntu 12.04 alpha machine when logged into console

I recently installed the latest Ubuntu 12.04 64bit alpha (2?) onto a VMware virtual machine in order to check things out. One strange thing I've encountered is that I can only successfully ssh into ...