Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

ssh store default username/login_name per host? [solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
Oo.et.oO
Apprentice
Apprentice
User avatar
Posts: 291
Joined: Tue Apr 23, 2002 10:02 pm
Location: burlington
Contact:
Contact Oo.et.oO
Website

ssh store default username/login_name per host? [solved]

  • Quote

Post by Oo.et.oO » Fri Dec 17, 2010 4:30 pm

Hi all,
I recently discovered pageant in windows as the key auth agent for putty. it also lets you save all sorts of stuff in a "session" for later use for logging into various hosts with various settings. one thing it saves is user/login_name.

i have a few hosts with really strange login names. sometimes i can't remember them. is there a way i can store them somewhere in .ssh for automatic use when sshing to those servers? i have key auth working great on them, i just have to remember my remote login name..

thanks
Last edited by Oo.et.oO on Fri Dec 17, 2010 7:16 pm, edited 1 time in total.
Top
tony-curtis
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sat May 20, 2006 11:52 pm

  • Quote

Post by tony-curtis » Fri Dec 17, 2010 6:44 pm

in .ssh/config you can add entries such as

Code: Select all

Host some.host.name.or.pattern
  User zvcdf12345
Top
Oo.et.oO
Apprentice
Apprentice
User avatar
Posts: 291
Joined: Tue Apr 23, 2002 10:02 pm
Location: burlington
Contact:
Contact Oo.et.oO
Website

  • Quote

Post by Oo.et.oO » Fri Dec 17, 2010 7:16 pm

thanks that works as expected. i just couldn't find it in the ssh manual nor online quickly.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic