| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Pages: (2) [1] 2 ( Go to first unread post ) | ![]() ![]() ![]() |
| zmerlinz |
Posted: May 18 2003, 01:18 PM
|
||
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
just wondering really, when i ssh into my server using
i have to wait about 10 seconds before it prompts me for a password but if i ssh into my laptop, using the same method (different ip obviously :rolleyes: ) it prompts for the password almost instantly so has anyone got any ideas why i have to wait so long for a password prompt ?? cheers |
||
| fishsponge |
Posted: May 19 2003, 08:24 AM
|
||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
yeah, it's usually the encryption method your server uses to encrypt the data to you... which takes up processor time. That's my experience anyway. it doesn't eat up all your processor for those 10 seconds, but if you use better encryption it will be slower.
The thing to do is to actually type:
This will turn on verbose mode, so you can see exactly which step is taking the time... :D |
||
| NTLDR |
Posted: May 19 2003, 09:37 AM
|
||||
|
User Level: 5 ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 105 Member No.: 2 Joined: 14-February 03 |
Is it me, or is that code exactly the same as zmerlinz posted? :rolleyes: |
||||
| fishsponge |
Posted: May 19 2003, 10:16 AM
|
||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
ok, i meant to say type the following:
:P |
||
| zmerlinz |
Posted: May 19 2003, 11:44 AM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
thanks i will give that a go :P
|
| zmerlinz |
Posted: May 19 2003, 11:47 AM
|
||
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
this is what it was doing while i had to wait
any ideas ?? |
||
| fishsponge |
Posted: May 19 2003, 12:18 PM
|
||||||||||||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
what it's doing is trying to work out what type of authentication it can use...
valid options for SSH authentication are: publickey (certificate-based auth) and password (password-based auth).
the prefered method of authentication is certificate based, so it tries this first...
first of all it tries to find your certificate identify/profile type thing.
then looks for an RSA key with which to encrypt the data.
after it decides no RSA key exists, it looks for a DSA key. Unfortunately, this doesn't exist either, so...
it resorts to using password authentication, and shortly after, prompts you for your password! HTH :D |
||||||||||||
| zmerlinz |
Posted: May 19 2003, 03:05 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
is there anyway to stop if faffing about like that and go straight to the password authentication ??
|
| fishsponge |
Posted: May 19 2003, 03:54 PM
|
||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
of course there's a way! :D ...we just have to find it... if yo are using SSH Protocol 1.x, then the following may come in useful from "/etc/ssh/sshd_config":
also take a look at "man ssh", and search for "SSH protocol version 1", and "SSH protocol version 2". These explain the login process in much more detail. i can't find anything else i'm afraid... SSH naturally is going to be slower than telnet anyway though, due to the secureness of it. |
||
| zmerlinz |
Posted: May 19 2003, 04:11 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
cool cheers :)
|
| fishsponge |
Posted: May 19 2003, 04:32 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
let me know what you do to make it work, ok??
a side note... i doubt you are using protocol 1, as 2.0 is the current version and has been for some time. if you are not using protocol 1, then that section of the config won't help you in the slightest... |
| zmerlinz |
Posted: May 19 2003, 05:42 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
so i need to disable RSA and DSA ???
|
| zmerlinz |
Posted: May 19 2003, 05:49 PM
|
||
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
here is my sshd_config file, tis a little more complicated than what you displayed :huh:
|
||
| fishsponge |
Posted: May 19 2003, 07:32 PM
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
hmm.... i'm afraid i now have absolutely no idea :blink: :blink:
|
| zmerlinz |
Posted: May 19 2003, 10:04 PM
|
|
User Level: 4 ![]() ![]() ![]() ![]() Group: Members Posts: 58 Member No.: 6 Joined: 15-February 03 |
ah well, i will mess about with it over the weekend and get back to you on it 's progress :D
|
Pages:
(2) [1] 2 |
![]() ![]() ![]() |