ssh

Remote Administration of Windows XP through the Command Line

Does anyone know of a good way to do remote administration of a Windows XP machine using just the command line? At the moment the only things it needs to do is to be able to install applications/patches, and transfer files to and from the machine, and installing registry patches would be nice as well. Currently we use a horrible hack...

Default SSH/Telnet Terminal Size

I'm writing an SSH/Telnet client for the Blackberry (and for other hand-held devices). My question is more related to usability. Due to the screen size limitations for certain devices, and resolutions, how should I set the default rows/columns for the screen? Currently I am setting it to 80 columns. The number of rows is dependent on...

Errors when using the SCP client from SharpSSH

I am using SharpSSH (http://sharpssh2.codeplex.com/) to send files from a windows box(using C#) to a linux box. I use the Sftp class to create directories(mkdir command) and Sftp.put command to transfer files over to the Linux machine. When the number of concurrent users is large about 30 or more then the connections being to drop and t...

Is there a way to set variables in ssh?

Still working my way around this, but is there any function/command I can use to set some simple variables? Logging into mysql is quicker when I'm already ssh'd in, but typing in the full connection string is a bit annoying. Any way to do something like: mysql ${variable} dbname Where variable would be something like -u user -p -h ho...

Remote X session is slow [centos5]

Okay, I've scoured google and I haven't found an answer for this. Not exactly programming related unless I was trying to use an ide over the session... I have servers at the same remote location; one is older running fedora 4 (P4 3.0Ghz) and a couple of newer server running Centos5 (Quad Xeon 1.6). I can run a remote X session on bo...

Problem with calling rsync+ssh from java on windows

I'm having trouble calling rsync from java on windows vista with cygwin installed. Its strange as pasting the exact same command into a command shell works fine. My test java call looks like this. String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"}; File workingDir = new File("c:/cygwin/bin/"); Process p = Runtime.getRuntime().exec("c:/cy...

How can I set up ssh via kerberos on MacOS 10.5 (Leopard)?

I am the de facto mac sysadmin for a few mac labs on a campus that is primarily Windows, and we have the Macs configured to do single login via Kerberos and get their directory info via LDAP and NFS. This works fine for someone physically sitting at the machine, but I am running into a brick wall when it comes to sshing into these machi...

SSH login warning message on a server with 2 DNS names

I am doing ssh to server x1.example.com from a laptop sometimes from outside and sometimes from lan. From lan I just say ssh karl@x1 and from wan: ssh [email protected] But from lan I get always a warning: remote host identification has changed. I can delete the other key in the known_hosts file each time, but I was wondering i...

ssh with compat nis on solaris 10

Hello, i have a working solaris 10 server with ssh and NIS using the following configuration: # /etc/nsswitch.conf passwd: files nis group: files nis and # /etc/ssh/sshd_config Protocol 2 Port 22 ListenAddress :: AllowTcpForwarding no GatewayPorts no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes PrintMo...

What root certificates does Adobe Flash trust?

I'm using URLLoader to do a web request via HTTPS, and I need to know what signing authorities Flash trusts. I've determined that I can't self sign the key, but can't find any documentation from Adobe on who is a trusted signing authority. Does Flash use the browser's trusted authorities? If you're using AIR, what list does it use? D...

Putty with Transparent Background and Opaque Text

Is there a version of putty that has a transparent background with opaque text? If not is there a way to do this? ...

sshfs EBCDIC to ASCII

Hi all, what I want to do is to be able to mount via sshfs some files on the mainframe via USS on my local PC. I can do that but sshfs doesnt do straight off the conversion from EBCDIC to ascii/unicode. Is there any flags that i can set. Alternativly, does anybody know of a library that does EBCDIC to ASCII conversions so i can add to...

How can I use emacs Tramp to double hop ssh?

My campus only lets ssh access through a gateway server. So to access the cluster I am coding on I have to ssh to the gateway and then ssh to the machine I am working on. The connection is very slow at times and is frustrating to work on. I would love to use something like tramp which I understand would have the buffer open on my local ...

tabbed SSH tool for windows?

I have a macintosh at home and I can do an ssh through macintosh tools and then open up tabs for multiple connections. I have used putty and the free version of SSH Secure Shell. Are there any free SSH tools for windows that allow me to open new connections with tabs instead of a new window? ...

Can git work via ssh port forwarding?

My situation is, I can ssh to ComputerB (Code repos) where git repos is put. But my local connection is too slow to clone the code. And I can ssh to another machine (ComputerA) which is faster, so I want to clone the code through ComputerA. This is what I did: ssh tunnel ssh tunnel MyComputer ------...

How to handle ssh host key verification with 2 different hosts on the same (but changing) IP address?

I have 2 ssh servers behind a nat firewall at a location that changes its wan IP every day. They are always at the same wan IP address on a given time but on different ports. I am connecting to server A this way: ssh -p 22001 [email protected] and to server B: ssh -p 22002 [email protected] So I get 2 different host keys for t...

how to get ssh to use a different id_dsa

How can I convince that id_dsa is not stored in ~/.ssh when connecting to one particular host. The obvious question is why. The answer is this key is more sensitive and needs to be password protected while the other is used for automation. While this is not a programming problem, I would not be surprised to learn this requires a progra...

Long-running ssh commands in python paramiko module (and how to end them).

I want to run a tail -f logfile command on a remote machine using python's paramiko module. I've been attempting it so far in the following fashion: interface = paramiko.SSHClient() #snip the connection setup portion stdin, stdout, stderr = interface.exec_command("tail -f logfile") #snip into threaded loop print stdout.readline() I'd...

Using local settings through SSH

Is it possible to have an SSH session use all your local configuration files (.bash_profile, .vimrc, etc..) on login? That way you would have the same configuration for, say, editing files in vim in the remote session. ...

How do I connect to a remote svn server?

Heres the current setup. Home PC ---/ Internet /---> Work Proxy Server --/ LAN /--> SVN server Home PC running Windows XP. Work Proxy server running fedora-core (to which I can connect through ssh). SVN server is inside the Office LAN running Windows XP. I want to connect to the work svn server commit changes, update and checkout fr...