Don’t be an idiot like me when connecting remotely

  • December 28, 2006
  • Avatar for peter
    Peter
    Upfold

Just thought I would share a neat little tip for anyone who connects to a remote machine and does stuff.

I learnt this tip the hard way - what I was doing was connecting via SFTP to a server, using Konqueror, my favourite all-purpose file manager. I put sftp://myserver into the location bar of Konqueror.

It then asks me for the username and password, and I would have the correct details filled in for me - they were saved in my secure KDE wallet. But unfortunately, every time I opened a connection Konqueror would behind the scenes try to connect to myserver with my login username, peter.

Since my login username isn't the same as the login username on the server, I would end up accidentally doing many failed login attempts. And subsequently I got my IP blocked.

It's all resolved now - and this is the solution:

Always, always, always connect to your server with the following notation:

protocol://username@server

Crucially, include the username@ bit. That way you'll save yourself accidentally trying to connect with your login name, and getting blocked. At least with Konqueror.

Hope this helps someone out there, anyway.

Oh, and I hope all FOSSwire readers had a great Christmas and here's wishes for a Happy New Year!

Avatar for peter Peter Upfold

Home » Articles »