"permission denied please try again" while doing SSH.
-
- Registered Member
- Posts: 15
- Joined: Wed Aug 07, 2013 12:09 am
"permission denied please try again" while doing SSH.
Hi,
I've been trying to do SSH a mainframe from my laptop. It always fails with "permission denied please try again".
Any guidance is appreciated.
I've been trying to do SSH a mainframe from my laptop. It always fails with "permission denied please try again".
Any guidance is appreciated.
Re: "permission denied please try again" while doing SSH.
Assuming that your SSH command is working for other target systems and you've a valid userid/password, then it would probably be best to go through your local support in order to get the problem resolved. "Permission denied" usually implies that you don't have access to something and there are a multitude of reasons for that ranging from misconfiguration through to local security policy, but they're generally going to be things you can't change yourself.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: "permission denied please try again" while doing SSH.
As zum13 has said, there are number of dots which should get connected well to make SSH working. Without much information and logs, it's tough to help. Please answer the following questions:
1. Is the mainframe you are working with, has SSH daemon running?
2. Are the SSH keys generated and in sync?
3. pub-key is already used as the authorized-key?
4. Where is the mainframe - 'cloud instance' or 'on-prem'?
5. Do you have OpenSSH running on laptop?
1. Is the mainframe you are working with, has SSH daemon running?
2. Are the SSH keys generated and in sync?
3. pub-key is already used as the authorized-key?
4. Where is the mainframe - 'cloud instance' or 'on-prem'?
5. Do you have OpenSSH running on laptop?
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 15
- Joined: Wed Aug 07, 2013 12:09 am
Re: "permission denied please try again" while doing SSH.
Hi Anuj
Here are the answer for your questions:
1. How do we check if the daemon is running?
2. SSH keys are generated and are in sync.
3. pub-key is added as authorized key.
4. ZD&T, we are using.
5. I'm not sure.
Here are the answer for your questions:
1. How do we check if the daemon is running?
2. SSH keys are generated and are in sync.
3. pub-key is added as authorized key.
4. ZD&T, we are using.
5. I'm not sure.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: "permission denied please try again" while doing SSH.
If you have permissions to do this, go into a Unix OMVS shell and enter the command1. How do we check if the daemon is running?
Code: Select all
ps -ef | grep "sshd"
-
- Registered Member
- Posts: 15
- Joined: Wed Aug 07, 2013 12:09 am
Re: "permission denied please try again" while doing SSH.
It's an old post though, I've left working on it back than. But it's back now.
Thanks Robert, that gives me a line back, so daemon is running?
Thanks Robert, that gives me a line back, so daemon is running?
-
- Registered Member
- Posts: 15
- Joined: Wed Aug 07, 2013 12:09 am
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute