Skip to content

How to add an SSH only user on Windows? #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
codearoo opened this issue Oct 4, 2017 · 3 comments
Closed

How to add an SSH only user on Windows? #901

codearoo opened this issue Oct 4, 2017 · 3 comments

Comments

@codearoo
Copy link

codearoo commented Oct 4, 2017

I just installed openssh 0.0.21.0 via Chocolatey on Win2012 and configured it. I tested it out with an Admin account and it works fine. But I wanted to create a user so that I can connect in SSH and open some tunnels. But when trying to SSH with that user, I get "Access denied".
Since I created the user, there is no c:\users\xxx folder for that user yet. I imagine I would have to actually log in as that user (but this is a remote VM so I'd have to allow that permission first).. but just wondering if there is a more systematic way to do this.. if indeed that is the problem. Because it wouldn't be able to find or create any .ssh folder for the user.

@manojampalam
Copy link
Contributor

related to #478
you can login using that user's password over SSH (this will automatically create user's profile).

@codearoo
Copy link
Author

codearoo commented Oct 4, 2017

I can't. That's why I made this ticket. When I try to log in with that user over SSH, I get "Permission denied, please try again." (this time tested from the local server itself.)

@codearoo
Copy link
Author

codearoo commented Oct 4, 2017

oh crap! It was a typo in the darn password!!
Sorry.

@codearoo codearoo closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants