[Swift-devel] command line ssh provider...

Mihael Hategan hategan at mcs.anl.gov
Mon Jan 16 12:58:27 CST 2012


Right. So now after getting to communicado, what happens if you manually
type ssh -v bridled...

Also, have you tried to add the "-v" in the ssh-cl provider and see
what's in the logs?

Mihael

On Mon, 2012-01-16 at 12:07 -0600, Jonathan Monette wrote:
> So I am still having problems getting an agent to be using.  I am running this on communicado.  From my mac I ssh -A jonmon at login.ci.uchicago.edu then ssh -A jonmon at communicado.ci.uchicago.edu
> 
> Here is what shows up when I grep for ssh as Mike did.
> 
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ env | grep -i ssh
> SSH_CLIENT=128.135.125.155 48486 22
> SSH_TTY=/dev/pts/0
> RSHCOMMAND=/usr/bin/ssh
> SSH_AUTH_SOCK=/tmp/ssh-mtYNz20726/agent.20726
> PWD=/home/jonmon/Workspace/Swift/ssh-cl-test
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
> CVS_RSH=ssh
> SSH_CONNECTION=128.135.125.155 48486 128.135.125.17 22
> HOSTFILE=/home/jonmon/.ssh/known_hosts
> 
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ export | grep -i ssh
> declare -x CVS_RSH="ssh"
> declare -x HOSTFILE="/home/jonmon/.ssh/known_hosts"
> declare -x PWD="/home/jonmon/Workspace/Swift/ssh-cl-test"
> declare -x RSHCOMMAND="/usr/bin/ssh"
> declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
> declare -x SSH_AUTH_SOCK="/tmp/ssh-mtYNz20726/agent.20726"
> declare -x SSH_CLIENT="128.135.125.155 48486 22"
> declare -x SSH_CONNECTION="128.135.125.155 48486 128.135.125.17 22"
> declare -x SSH_TTY="/dev/pts/0"
> 
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ ll /tmp/ssh-mtYNz20726/
> total 0
> srwxr-xr-x 1 jonmon ci-users 0 Jan 16 12:01 agent.20726=
> 
> As you can see there is an agent set up where the SSH_AUTH_SOCK variable is pointing to.  However when I try to run my swift script that just runs hostname on the remote machine I get prompted for a password.
> 
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ ll
> total 6.0K
> -rw-r--r-- 1 jonmon ci-users 297 Jul 14  2011 cf
> -rw-r--r-- 1 jonmon ci-users 111 Jan 12 15:40 hostname.swift
> -rw-r--r-- 1 jonmon ci-users  24 Jan 12 15:42 hostname.txt
> -rwxr-xr-x 1 jonmon ci-users  79 Jan 12 13:09 run.sh*
> -rw-r--r-- 1 jonmon ci-users 361 Jan 16 11:58 sites.xml
> -rw-r--r-- 1 jonmon ci-users  46 Jan 12 13:12 tc
> 
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ cat sites.xml 
> <config>
> <pool handle="bridled">
>     <filesystem provider="local" />
>     <execution provider="ssh-cl" url="bridled.ci.uchicago.edu"/>
>     <workdirectory>/home/jonmon/Workspace/Swift/swift.workdir</workdirectory>
>     <profile namespace="karajan" key="jobThrottle">0.20</profile>
>     <profile namespace="env" key="SWIFT_GEN_SCRIPTS">1</profile>
> </pool>
> </config>
> 
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ cat run.sh 
> #!/bin/bash
> 
> swift -config cf -tc.file tc -sites.file sites.xml hostname.swift
> [jonmon at communicado: ~/Workspace/Swift/ssh-cl-test]$ ./run.sh 
> Swift trunk swift-r5498 (swift modified locally) cog-r3347 (cog modified locally)
> 
> RunID: 20120116-1205-eke5ge02
> Progress:  time: Mon, 16 Jan 2012 12:05:22 -0600
> Password:
> 
> Any ideas what to try?  I also tried the -t option that Mike tried but there was not effect.  Still prompted for a password.
> 
> On Jan 16, 2012, at 3:36 AM, Mihael Hategan wrote:
> 
> > On Fri, 2012-01-13 at 18:00 -0600, Michael Wilde wrote:
> >> Once I had done that, coasters booted OK.  Then I hit a suspected
> >> problem in the local provider: it was not accepting jobs, but seemed
> >> set up OK. Mihael is investigating.
> > 
> > Works for me, so I suspect it's more subtle. If you see it again, can
> > you send me a jstack output of the coaster service?
> > 
> > _______________________________________________
> > Swift-devel mailing list
> > Swift-devel at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
> 





More information about the Swift-devel mailing list