[torqueusers] qstat via ssh port forwarding

Kevin Van Workum vanw at tticluster.com
Thu Oct 25 13:21:39 MDT 2007


On 10/25/07, Kevin Van Workum <vanw at tticluster.com> wrote:
> > Kevin wrote on 10/25/07 at 13:51:18 -0400:
> > >I'm trying to run qstat on my localhost to query a pbs_server on a
> > >remote cluster. I have ssh access to the 'login' server on the remote
> > >cluster. The pbs_server is running on separate machine (torque) at the
> > >remote site. I can run 'qstat @torque' from the remote login server.
> > >My question is how do I setup the port forwarding correctly to get
> > >qstat to run on my local machine. I tried the following but it doesn't
> > >work even though tcpdump show the packets reaching the pbs_server
> > >machine (torque). Maybe I'm using the wrong port or need to forward
> > >some more ports?
> > >
> > >For example:
> > >
> > >[kevin at localhost cmds]$ ssh -L 15001:torque:15001 -N login &
> > >[1] 9133
> > >[kevin at localhost cmds]$ ./qstat @localhost
> > >No Permission.
> > >qstat: cannot connect to server localhost (errno=15007)
> > >
>
> On 10/25/07, Rajiv Chittajallu <rajive at ieee.org> wrote:
> > Its not going to to work cause pbs_iff on  _localhost_ should talk to the
> > torque too.
>
> On which port does pbs_iff talk to the pbs_server?
>
This is what I see in the pbs_server log. What causes the "Invalid credential"?

10/25/2007 15:17:34;0100;PBS_Server;Req;;Type AuthenticateUser request
received from kevin at login, sock=12
10/25/2007 15:17:34;0080;PBS_Server;Req;req_reject;Reject reply
code=15019(Invalid credential), aux=0, type=AuthenticateUser, from
kevin at login


More information about the torqueusers mailing list