Problems with remote connection bet. Linux and Win using SSH and Putty
Hi guys, I'm a total newbie doing these things. I have a LAMP server set up at work on the 4th floor and I'm trying to have a remote connection from my Windows machine on the 6th floor. I installed the openssh-server on the LAMP and putty on the win machine. The first time I tried to log in I got this message: "The server key was not found in the cache. You have no guarantee that the server is the computer you think it is. The server's rsa2 key is: ssh-rsa [some key]. If you trust this host, press Yes. To connect without adding to the cache press No. To abandon the connection press Cancel"
I press Yes. Then it ask me for the "log in as:" So in this case I'm not sure what to enter. In the LAMP machine I only have the root account set up, so I entered at putty and then the password. I'm not able to connect this way. Do I have to set up another user for remote access? I confused about this and I have read the instructions on help.ubuntu.com with no success. Do I have to configure the /etc/ssh/sshd_config file and create an user account?? What is the simplest way of doing this? And if I achive this task would I be able to connect from home? Thanks guys... |
You should be able to log in as root from Putty.
What error message does it give exactly? |
Access Denied
|
You need to create a user account on the LInux system you are trying to connect to. The sshd_config file has nothing to do with user accounts. You need to create user accounts via the GNOME desktop, or through the command line as root. I forget the complete command, but it's something like:
useradd -m johndoe <- this creates a user named johndoe and the '-m' creates his home directory passwd johndoe <- this sets up johndoe's password Now you can log into the Linux box as johndoe and then login as root if you need to modify something. Usually one should disable SSH'ing in as root as that is not safe. You can play around with the sshd_config option and have more security and control with it. |
where i can find the "sshd_config"?
|
All times are GMT -5. The time now is 09:20 AM. |