ssh

How do you install an ssh server on qnx?

I'm working on a qnx device, and I want to be able to ssh into it. Does anyone have a primer on getting something like openSSH up and running? ...

Are there any good free .Net network libraries? (FTP, SFTP, SSH, etc.)

I'm a bit surprised I haven't found a good open source library for performing common network tasks. There are a few very good commercial libraries, but they're too expensive to use on an open source project. Anyone know of any? ...

Download files to local drive when sshed

What is the best way to download files to local hard drive when logged in to another computer using ssh in bash. I'm aware of sftp, but it is not convienent, e.g. it lacks tab completion of directory names. I'm using Ubuntu 8.04.1 . I don't have a public IP and would not like to setup dynamic Dynamic DNS solution. ...

Check out from a remote SVN repository TO a remote location?

Is there a way with SVN to check out from a remote repository to another remote location rather than my local file system? Something like: svn co http://myrepository/svn/project ssh [email protected]:/var/www/project ...

Is there a better Java implementation of SSH2 than JSch?

I've been using JSch for a couple of weeks now. It seems to work okay, but its API is a little bit cumbersome. I'm also a little off put by its total lack of documentation (not even javadoc style comments). Has anyone used a good Java SSH2 library that they'd recommend. I'm particularly interested in SCP file transfer and issuing com...

Tunnel over HTTPS

At my workplace, the traffic blocker/firewall has been getting progressively worse. I can't connect to my home machine on port 22, and lack of ssh access makes me sad. I was previously able to use SSH by moving it to port 5050, but I think some recent filters now treat this traffic as IM and redirect it through another proxy, maybe. T...

Map SSH drive in Windows

Does anyone know of a good (hopefully free) tool that can be used to map a SSH server as a Windows network drive (i.e. SCP)? EDIT: SFTP not supported EDIT2: Windows File Sharing/Samba not supported ...

/etc/motd printing twice on Gentoo Linux

I've run into a problem where I'm getting two printouts of my /etc/motd file on Gentoo Linux. sshd is doing one of the printouts, and I can toggle that by configuring /etc/ssh/sshd_config, but I can't find out who's printing the second copy. I can't disable sshd from printing out the motd due to an audit requirement. I'm running the b...

How do I get a SVN checkout using a Public/Private key pair?

I have to check some code and run it. I have the URL: svn+ssh://[email protected]/home/svn/project/trunk I have a file with their private key. What do I do to get this code? ...

SSH into Amazon EC2 Instance

I'm working to set up Panda on an Amazon EC2 instance. I set up my account and tools last night and had no problem using SSH to interact with my own personal instance, but right now I'm not being allowed permission into Panda's EC2 instance. Getting Started with Panda I'm getting the following error: @ WARNING: UNPROTECTED PRIV...

Best way to run remote commands on a Windows server from Java?

Are there any existing solutions for remote execution of commands on a windows server from Java natively? psexec.exe is not an option since the java application has to be cross platform. Even a preexisting solution using Java RM would be sufficient. Currently, I'm using an SSH client library to ssh through java into a Windows server th...

Why does an SSH remote command get fewer environment variables then when run manually?

I have a command that runs fine if I ssh to a machine and run it, but fails when I try to run it using a remote ssh command like : ssh user@IP <command> Comparing the output of "env" using both methods resutls in different environment variables. When I manually login to the machine and run env, I get much more environment variables t...

copy files from one solaris 9 to another using java

How to copy file(s) from one solaris 9 machine to another solaris 9 machine using only java? We have ssh access to both machines. The java program will run on one of those two machines. Update: rsync is not really an option. can't install it easily (UNIX team is, hum, hard to deal with) ...

git-upload-pack: command not found, how to fix this correctly

I have been using git to keep two copies of my project in sync, one is my local box, the other the test server. This is an issue which occurs when I log onto our remote development server using ssh; git clone [email protected]:/home/chris/myproject Initialized empty Git repository in /tmp/myproject/.git/ Password: bash: git-upload-pack...

Is an SSH tunnel through Citrix Client possible?

I know it is not strictly a programmer question, on the other hand, I would really like to be able to do a simple svn up on the production servers, which would save us a lot of hassle. Or production servers are within a corporate network, and access is only allowed through a gateway server. From that we can access the actual servers via...

pass password to su/sudo/ssh

I'm writing a C/Shell program that will be doing su or sudo or ssh. They all want their passwords in consol input rather than stdin. Does anybody know a solution? Setting up password-less sudo is not an option. Expect could be an option, but it's not present on my stripped-down system. ...

Can I do SQL Server 2005 merge replication through an SSH tunnel?

Our usage case is a database responsible for accounts, sessions, licenses, etc. — it needs to be polled upon client startup, so high reliability is crucial. As such, we'd like to replicate across different servers in physically separate networks, just in case an entire datacenter happens to go down. I have successfully set up a push subs...

How can I automate running commands remotely over SSH?

I've searched around a bit for similar questions, but other than running one command or perhaps a few command with items such as: ssh user@host -t sudo su - However, what if I essentially need to run a script on (let's say) 15 servers at once. Is this doable in bash? In a perfect world I need to avoid installing applications if at all ...

SSH, screen and XDISPLAY

I use screen to persist my work session and connect to the same session from multiple machines. How can I setup SSH and screen such that the XDISPLAY variable inside my persistent screen session is always set to the machine I am currently connecting from? ie. I start the screen session at work and use gvim, which uses the X server runni...

How to scp in python?

What's the most pythonic way to scp a file in Python? The only route I'm aware of is os.system('scp "%s" "%s:%s"' % (localfile, remotehost, remotefile) ) which is a hack, and which doesn't work outside linux-like systems, and which needs help from the Pexpect module to avoid password prompts unless you already have passwordless SSH ...