Quote:
Originally Posted by matey
I use the ssh --help but it is not clear as to how to use that -D switch in there?
I want to use a different port than 22 since I think it's been blocked.
I only get " Bad dynamic port " no matter which port I use even 22.
The server is running our telephones (Asterisk) and has OpenBSD installed on it. Has NO display at the console?!
|
I don't think you want the -D option. Maybe the -d option, though. (The -D will not detach from the console; the -d will debug.)
See
this, too.
Quote:
Originally Posted by matey
But I really need to know how to re Enable ssh on/to this server.(I guess I open another thread)?
because for instance the "asterisk -r" own command prompt has a very long help file which is very useful but it scrolls off the screen too quick and you cannot use |more /less whatever to stop and read it!
cant pass it to a file either > ? it is their own shell i guess?
With ssh I can use my own desktop (GUI) terminal to scroll up/down and read the help files plus do other things.
|
I'm a bit confused by what you're trying to do. To enable SSH access on the remote machine, the program that needs to run is "sshd", not "ssh". To access the remote machine, for example, from your scrollable desktop GUI terminal, you'll need to use the program "ssh", following the syntax like:
Code:
ssh -p 22 username@192.168.0.7
You'll need to replace the "22" with whatever port you the
server (sshd) is running on. The "username" needs to be the login name. The "@" symbol just tells the
client (ssh) that the username you typed in should be used for accessing the IP address you typed in. In the example I gave, that IP address was "192.168.0.7", so you'll need to replace it with whatever you need for your server.
As for enabling the SSH daemon (sshd)/SSH server, try
this page; it mentions:
Quote:
|
It is normally started at boot from /etc/rc.
|
Hope this helps; let us know either way. Good luck!
Recent comments
10 hours 36 min ago
15 hours 35 min ago
17 hours 1 min ago
17 hours 54 min ago
19 hours 37 min ago
1 day 50 sec ago
1 day 52 min ago
1 day 3 hours ago
1 day 16 hours ago
1 day 17 hours ago