root can't run ssh commands on other server
From: dc (dwcasey@yahoo.com)Date: 05/24/02
- Next message: chris: "Re: root can't run ssh commands on other server"
- Previous message: TheMartian: "global environment for SSH users"
- Next in thread: chris: "Re: root can't run ssh commands on other server"
- Reply: chris: "Re: root can't run ssh commands on other server"
- Reply: Bill Unruh: "Re: root can't run ssh commands on other server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: dwcasey@yahoo.com (dc) Date: 24 May 2002 07:46:49 -0700
OpenSSH 3.1p1
I am trying to run a simple:
# ssh server01 uptime
And it's asking for a password?
root@server01's password:
Permission denied, please try again.
root@server01's password:
Permission denied, please try again.
root@server01's password:
Permission denied (publickey,password,keyboard-interactive,hostbased).
The server I am trying to ssh to, server01, has these two entries for
root access in the sshd_config:
# root will no be permitted to log in interactively, but can run
# commands remotely ...
PermitRootLogin forced-commands-only
.
.
#PermitRootLogin yes
So I should be able to run commands only, just not login, right?
That's all I'm trying to do.
- Next message: chris: "Re: root can't run ssh commands on other server"
- Previous message: TheMartian: "global environment for SSH users"
- Next in thread: chris: "Re: root can't run ssh commands on other server"
- Reply: chris: "Re: root can't run ssh commands on other server"
- Reply: Bill Unruh: "Re: root can't run ssh commands on other server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|