ssh

When using Git or SSH copy / remote login, etc, should we re-use the same SSH keys or create new ones every time?

With the increasing use of Git or SSH copying or login, we can use just 1 pair of public and private key, or we probably can create different pairs on different machines, such as 1 for the notebook and 1 for the desktop, and 1 for the Virtual Machine. Should we use 1 pair or should we use multiple pairs? If we use just 1 pair, then we ...

ssh doesn't auto start up in ubuntu 10.04 64bit

I installed ssh using apt-get install ssh it showed that it was successfully installed but ssh cannot start up with the booting of ubuntu, every time i need to log in ubuntu and start the service by hand. i searched the web and came to a method of using update-rc.d ssh defaults 99 but it also fails. is there anything else should be...

Add SSH Key to Heroku (Noob Question following railstutorial.org)

Beeing new to programming I'm trying to learn RoR using railstutorial.org and ran into a problem in chapter 1.4.1 (http://railstutorial.org/book#sec:1.4.1). Whentrying to add my SSH key the following happend: Basti@Basti-PC ~ $ heroku keys:add <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- readline (...

avp.com scan pipe error when using ssh -n command ?

i have the following case :- i design :- 1- file.bat on windows 2003 2- file2.sh on unix-aix file2.bash call file.bat and file.bat receve path from file2.bash and file.bash return a value to file2.bat .... when i execute this from my servers all thing good but when i call this from my website (PHP) the following error appear :- ER...

Give Read-only access to a git repository

I'm not sure if this should go here, or on superuser (as it seems to pertain to both topics), so I've put it here, if it's not appropriate, all go ask it on superuser. Anyway, I have a git repository that can't go completely open source (otherwise I would just put it on github and be done with it), and I have a server that I have ssh ac...

Please suggest any ssh client to install in ubuntu and where to download the same

Please suggest any ssh client to install in ubuntu and where to download the same ...

Tunneling to an internal corporate SSH server behind a gateway

Hello all, I am trying to do the following. I have an internal ssh server at work (e.g. [email protected]). This server is behind a gateway ([email protected]). I would like to ssh to [email protected] from my home machine. To do so, I have been first doing ssh to log into the external gateway, and then fr...

Using Tunnelier to execute command line ssh

I have taught myself to use tortoise for svn changes but after "committing" the changes I was still relying on others to "push" the ssh so the changes reflect live on the server... I downloaded Tunnelier but dont quite know where to start to run that command line update ...

Remote Mercurial without installing Mercurial

I have a server with ssh, that I want to use as a central repo. However I can not install mercurial on it. Therefore how can clients push to the server over ssh without having mercurial installed on the server. Thank You ...

Storing private key information and passwords for ssh logins

Alright I am working on a system for managing a bunch of vps. This includes mundane maintenance tasks as well as resource allocation. In order to accomplish this my control server will need to be connecting to the various servers. I regularly use ssh public/private key and this seems like the most logical way to connect from the control...

SSH tunneling and port forwarding

I ask you to help me establish tunnels to meet the following needs: There is server LocalTest, on which I am root, so I can do anything (Debian SSH). This server is enabled to access (IP filtering is present on the other party) port 443 a server which we can call WebserviceServer. I want to enable person who can not open SSH to localtes...

rsync: failed to set times on "<dir path>"

Hi, I am trying to rsync files from one server to another but getting this error rsync: failed to set times on "/dept/intranet/dept/atest/.": Operation not permitted (1) Can someone help me why so ? I guess it is some permissions issue. This is my command: RSYNC=/usr/bin/rsync 18 SSH=/usr/bin/ssh 19 REMOTE_HOST=test....

Git on ubuntu machine with windows client

Hi, I keep getting an annoying popup that keeps asking me for a git password while accessing my git repo from another machine.I have no git password set up..Have referred various guides to setup git and have gone through the ssh pub/pri key setup.Any help would be appreciated Regards, Manish Narang ...

Running a script automatically when logging in via ssh

Hi there, I would like to know if there is a (simple) solution to the following issue: When I log in with ssh to a specific host, I would like to automatically execute a (bash)script on that host. This way I could -for example- load my aliases on that host. Definitively the bashrc script is not executed; The ssh configuration files d...

How to use ssh command in shell script?

I know that we shuld do ssh user@target but where do we specify the password ? Thanks for your help ! Lalith ...

PuTTY Security Alert - What does key fingerprint mean?

Hello, I have another question to security in the web world. So I read (and ask :P) about certificates and think I got what it is and how it works. My next question is putty specific. When I open a connection with putty to a new server with ssh (port: 22) I get a PuTTY Security Alert: The server's host key is not chacked in the regi...

Can't type password (or anything else) into plink with svn+ssh

I've been using SVN and Windows for a while now, but recently I tried to get it working on a new machine. I have a svn+ssh:// repository that I need to access but I am unable to because, as I understand it, plink is not hooked up to the console input and thus I cannot type in my password when running svn commands. This page (near the bo...

multiple commands on remote machine using shell script

Hello all, I have a java program Desktop/testfolder/xyz.jar on a remote machine. It also has a configuration file on the same folder. When I ssh to the machine i do "ssh user@remote java -cp Desktop/testfolder/xyz.jar Main" The problem here is the configuration file is not in the path as we are in the home folder so my program ca...

Running Symfony plug-in tasks via command line SSH on shared hosting

My usual hosting environment is a dedicated server, however for one project I am required to deploy Symfony onto a Linux shared hosting account. The project itself works fine, however, when I SSH in to the server the command line does not work as expected. For example, if I navigate to data/symfony/bin then type: php symfony this r...

ping a computer in ssh?

Hi all, Is there any command to ping a computer, or translate domain name to ip address in ssh? Thank you !! ...