Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

BSD - CANT SSH IN REMOTELY IF I DONT LOG IN LOCALLY FIRST

Posted on 2007-03-30
2
Medium Priority
?
251 Views
Last Modified: 2013-11-22
Im running a server with FreeBSD 6.2-RELEASE.

Problem:
Unless i log into the server once, it wont let me log into it using ssh. Once i log into it locally then i could log remotely to it via SSH. Will not work until i log into it locally first. If i need to restart the server remotely i wont be able to log back into it unless i go physically to it and log it once.

I know this is a config issue. Can you help and do i need to post any config file here?

Thanks!
0
Comment
Question by:speednow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 18827873
Looks like your DNS does not serve reverse PTR zones. It will log in after a time, a half-minute or so

edit /etc/ssh/sshd_config

and make sure you have UseDNS no

after that run /etc/rc.d/sshd restart

Now you should be able to log in just fine.
0
 

Author Comment

by:speednow
ID: 18828676
Worked perfectly now.. Thanks a lot..
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #POC #XenDesktop #vCenter #VMware #ESX
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question