Link to home
Start Free TrialLog in
Avatar of Silas2
Silas2

asked on

SSH Query-why does it work?

I'm I real SSH newbie (even though i've been using it for years), but I can't work this out, I set up Putty years ago to access a remote Ubuntu box from Windows.
I do vaguely remember setting up the keys, but....anyway, I got a new laptop, downloaded the putty.exe file, fired it up with the target remote IP, and I got in (well, usual uname/pwd challenge). How can that be without without the public key? I'm sure I didn't copy any key files over.
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

The remote ssh server allows by default logging in via username/passeword.

To disallow this it must be explicitly turned off in sshd_config.
Avatar of Silas2
Silas2

ASKER

But, scuse my ignorance, but without a public key what make the connection remotely secure? It'll just be plain text won't it
SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Silas2

ASKER

Ah, the penny drops, its public/private key but the server issues the public key like a private 'Verisign' which I trust because I'm connecting explicitly to that server IP.