openssh

Accessing a git repository via ssh behind a firewall.

I would like to access (clone/push/pull) a private (via ssh) git repository while behind a corporate firewall that only allows http proxy access. I have written a robust Java (daemon) program (based on the JSCh class library) that will allow me to leverage local and remote port forwarding and I am hoping to leverage this but my brain hur...

Building OpenSSH on Cygwin

I'm trying to build OpenSSH 5.1 on Cygwin. I'm using the following configure command: ./configure --prefix=/usr --sysconfdir=/etc --libexecdir='${sbindir}' \ --localstatedir=/var --datadir='${prefix}/share' --mandir='${datadir}/man' \ --infodir='${datadir}/info' The configure command runs OK, but when I try to make I get this error: ...

How can I write a program (script) to remove obsolete host keys from ~/.ssh/known_hosts?

I use a cluster of about 30 machines that have all recently been reconfigured with new OpenSSH host keys. When I try to log into one, I get this error message (many lines removed for brevity): @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ The fingerprint for the RSA key sent by the remote host is 52:bb:71:83:7e:d0:e2:66:9...

Have SSH login session redirect to interactive telnet to localhost instead

I am developing for a system that has an interactive telnet management console. Requirements dictate that we disable telnet access and add SSH instead. Changing the management console into a stand-alone program that we can use for SSH login would require a vendor to get involved. I was thinking of a less expensive solution that would ...

System.Diaganostics.Process - (When one process internally uses another)

This is a bit involved, but please help. I'm starting to fall way behind due to this problem. God bless you for your attention to this. I've been using C# System.Diagnostics.Process to monitor the output of a command line utility. The process I'm monitoring "internally" launches a second process, and as soon as it does, I receive no f...

Cygwin in Windows 7

Hi, I am a fan of linux but due to worst intel wireless drivers in linux, I had to switch to windows 7. I have installed cygwin in windows and want to configure ssh, to remotely connect to my laptop. I googled and found this webpage, http://art.csoft.net/2009/09/02/cygwin-ssh-server-and-windows-7/ I am getting the following error whe...

SSH Error: Permission denied (publickey,gssapi-with-mic).

When trying to connect to EC2 over SSH I get the following error: joshua-scotts-macbook-pro:.ec2 joshuascott$ ssh -v -i OFMoodle [email protected] OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to ec2-xxx-xxx-xxx-xx.compute-1.amazonaws.com [xxx...

Automating terminal login with DSA key

How would I go about doing this on the terminal? sftp then asks me for a password. how do I include my DSA key so that I do not have to use the password? ...

retrieve SSH unique session ID

I wonder if there is any way to retrieve, for both a server and a client connected through ssh (OpenSSH), some unique session identifier (let this be USID). This would be used to restrict the execution of a specific (custom) software (let it be a.exe), so it can only be executed through a specific ssh session, even if other users (poten...

how to automate the logins on puttycm?

Hi, I got puttyCm, I need to log in to my devices for once and let the putty store it..later i can come and enter automatically with out entering the passwords again? can u show me the way pls? in addition, if one device can be reached thru other devices..how to implement it? ...

Compile OpenSSH for use in iphone application

I am trying to create an application to take advantage of OpenSSH to create an sFtp client for the iphone. I know that it is possible to create ssh clients for iPhone (iSSH, TouchTerm, etc) and I also assume they are using openssh as a base. Would I just need to create a static library? ...

ssh permission denied

I am trying to ssh into a remote machine and I get the following debug messages: debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to xxx.xxx.x.xx [xxx.xxx.xx.x] port 22. debug1: Connection established. debug3: Not a RSA1 key file /home/hadoop/.ssh/id...

Which Java Telnet or openSSH library?

I need to make a small test program in java which has to communicate with remote Windows server using telnet, or openSSH. Which library would you suggest to use? I'd like to use a well documented and stable library. ...

OpenSSH connection trouble

Hi, I'm trying to use Putty 0.60 to log in to an OpenSSH 5.3 server. Connections with openssh from another Linux server are possible, but Putty fails. Putty's event log tells me "software caused connection abort" right after the DH key exchange, the server log doesn't report anything (set to INFO). I analyzed the traffic with Wireshark ...

How to rebuild openssh 5.2p1 after changing configure.ac

I needed to add AM_PATH_CHECK to configure.am I then try to run the usual sequence of autotools commands to rebuild all the makefiles and whatnot: aclocal automake -ac autoheader autoreconf ./configure make and here my lack of understanding of autotools showes up because this release of openssh has no Makefile.am??? now what do I do? ...

.gitmodules changes with multiple git users, causing a constant headache

Hello, allow me to first of all say I'm a Git n00b and relatively new to version control entirely. We've done a good job of using Git in a Windows environemnt with Visual Studio so far, and all seems to be going well. However something that is annoying is the .gitmodules 'battle' we currently have on our hands. If UserA creates a new su...

Emacs / CVS / OpenSSH: preventing password popup

I'm using GNU Emacs on my Ubuntu netbook in fullscreen mode. When I edit files that are under version control and hit C-x v v to commit the latest changes, an OpenSSH popup window will open and ask me for my password for the server on which my repository lives. Unfortunately, because of the fullscreen mode, the popup window will not com...

How to convert OpenSSH public key file format to PEM

I have RSA public key in OpenSSH format: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9xmJumsHeLEDcJwf3LYONZholP3+pDHJYen4w+gm8o1r7t6oq825Gmjr7pjsQ+ZDxWivkI4vMW9RyFevPg09ljW+V7lZInBpRtB6v1s8PdmV9YVk4R3S0e7sPMPXuM7ocPLh5yKZ9f7JZwQlpp4ww/RE7blbXywjwCxngT7+G+J6HJB0UcR8xR8t6z8qDrDTAJA7pFFFNliw9M+I8tbrFl8HmoyudOFsGsYOd5hjemy4ivW88XcXzfHJdKnmD9FHVZ...

use ppk file in mac terminal to connect to remove connection over ssh

I have been using putty on WINDOWS XP and used the .ppk file to connect to my linux servers (several servers) On the servers I have the following folder and file ~/.ssh/authorized_keys I now want to use a MAC to connect via the terminal. I have set up the remote connections to the servers manually and want to know how I can setup using...

bash: ssh-host-config: command not found

Does anyone have ANY ideas what could be causing this. I am on win 7. I have successfully setup everything using this tutorial: http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/ I am up to this command: ssh-host-config ..but I receive the error in the title. I have searched google and many other places. I cannot find one inst...