|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
I can't loggin on ssh on openbsd 4.9
Hi, I can log on server, with local IP (server IP is 192.168.1.30) but when I use static public IP (I get from my wisp one public static for my game ) I can't, I got this, ofcorse, I know my password, but, I don't know where is problem
Code:
zeenmc@MYPUBLICIP's password: Permission denied, please try again. zeenmc@MYPUBLICIP's password: Last edited by J65nko; 28th August 2011 at 05:11 PM. Reason: fixed quote/code tags |
|
|||
From the ssh man page:
Code:
-v Verbose mode. Causes ssh to print debugging messages about its progress. This is helpful in debugging connection, authentication, and configuration problems. Multiple -v options increase the verbosity. The maximum is 3.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
Quote:
|
|
|||
I make new connections
Quote:
|
|
|||
By default ssh does a reverse DNS lookup of the server it is connecting to. But your server does not have a reverse DNS entry
Code:
$ dig -x 188.120.102.175 ; <<>> DiG 9.4.2-P2 <<>> -x 188.120.102.175 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18872 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;175.102.120.188.in-addr.arpa. IN PTR ;; Query time: 510 msec ;; SERVER: 192.168.222.10#53(192.168.222.10) ;; WHEN: Mon Aug 29 00:07:46 2011 ;; MSG SIZE rcvd: 46 If you manage to log in after that long delay, you could add an entry for your server in your /etc/hosts file of your workstation: Code:
188.120.102.175 freeland.brokenbyte.org
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Hm, I have static IP from mikrotik, second link is ADSL, what details you want ? that is no problem , I will maybe call mh WISP, and ask about this problem, maybe they can fix this, but, I will use hosts.conf Can I fix problem with reverse DNS entry, on zone edit, bicause I have account and brokenbyte.org zone there, I config that, maybe I do some bad config with DNS?
Quote:
Last edited by zeenmc; 29th August 2011 at 06:54 AM. |
|
|||
J65nko's link on traffic redirection was my problem when I was setting up my OpenBSD firewall. Specifically "RDR-TO and NAT-TO Combination".
Also, make sure that the account you are trying to login to has password login privilages. Have you edited your sshd_config file? You could have performed something like this: http://old.nabble.com/Disable-SSH-passwords-per-user-td27021767.html on accident. |
|
|||
I have only put config for root login on ssh, only that, my NAT is on Mikrotik RouterOS (WISP) on OpenBSD (where is ssh) don't put anything on PF config file
|
|
|||
uh, I find what is problem, you will kill me haha, Mikrotik router have sam problem in NAT, I don't know whay, I remove rule whit port forwarding, and put again the same rule, and start working, first, bicouse some bug, port forward is connect on mt ssh, although it is generally said to connect to a private IP address and port of the ssh
|
|
||||
I don't understand your post. Are you referring to attempting to redirect from inside a NATted network, as described here?
|
Thread Tools | |
Display Modes | |
|
|