Password-based authentication is the default. You login with your user's credentials, which if you used Ubuntu Server, you created in setup. AMIs generally use keypairs, but if you're installing locally, I wouldn't suggest using an AMI.
Your VM should probably also be set up to use a bridged network, and you'll have to accept the server's certificate on the first connection. You'll never be able to set up a keypair if you can't get in some other way. Normally, you would just drop your local ~/.ssh/id_rsa.pub's contents into ~/.ssh/authorized_keys on the server to do key-based authentication. Some ancient and/or misconfigured systems require more steps. Don't use those. --- Keith Gable A+ Certified Professional Network+ Certified Professional Storage+ Certified Professional Mobile Application Developer / Web Developer On Wed, Oct 24, 2012 at 1:44 PM, Mark Hahn <[email protected]> wrote: > > Try password-based authentication first. > > Can SSH use passwords? I googled until my head fell off and I couldn't > find out how to do that. There were 10,000 articles about setting up key > pairs which I already knew. Oh well, I guess I am doomed to use AWS and > vagrant for servers. I can live without knowing how to set up a ubuntu > server from scratch. I'll lie on my resume. > > On Wed, Oct 24, 2012 at 8:28 AM, Keith Gable <[email protected] > >wrote: > > > Try password-based authentication first. Once that's working, then work > on > > key-based authentication. If you're using PuTTY, you have to run Pageant > > and also convert the key to PuTTY format. > > > > > > --- > > Keith Gable > > A+ Certified Professional > > Network+ Certified Professional > > Storage+ Certified Professional > > Mobile Application Developer / Web Developer > > > > > > > > On Tue, Oct 23, 2012 at 10:36 PM, Mark Hahn <[email protected]> wrote: > > > > > FWIW, I ended up using vantage and it worked great. When i didn't make > > > stupid mistakes, it only took a few minutes to get a good headless dev > > > environment going in virtualbox on windows 7. > > > > > > On Tue, Oct 23, 2012 at 1:43 PM, Mark Hahn <[email protected]> wrote: > > > > > > > Yeah, I'm used to just running ssh. I'll have to get the key files > > over > > > > using ftp or dropbox. > > > > > > > > On Tue, Oct 23, 2012 at 12:45 PM, bsquared <[email protected]> > wrote: > > > > > > > >> On 10/23/2012 11:15 AM, Mark Hahn wrote: > > > >> >> I could not find a ppa for a current couchdb, but I did find > > several > > > >> > sources with directions. > > > >> > > > > >> > thanks. > > > >> > > > > >> > My biggest problem now is just trying to get ubuntu running > headless > > > in > > > >> > virtualbox. > > > >> > > > > >> > On Tue, Oct 23, 2012 at 11:09 AM, bsquared <[email protected]> > > > wrote: > > > >> > > > > >> >> On 10/22/2012 12:08 PM, JC de Villa wrote: > > > >> >>> On Tue, Oct 23, 2012 at 2:53 AM, Mark Hahn <[email protected]> > > wrote: > > > >> >>> > > > >> >>>> I have a number of servers on AWS for my day job. For my > weekend > > > >> >> projects > > > >> >>>> I need a free dev environment. My wife doesn't like spending > > > money. > > > >> >>>> > > > >> >>>> I'm sure I can find a solution. I'm working with webfaction > now > > to > > > >> see > > > >> >> if > > > >> >>>> they can donate the hosting. > > > >> >>>> > > > >> >>>> I spent a half-day trying to set up my dev environment in > > > virtualbox > > > >> on > > > >> >> my > > > >> >>>> local PC. But all I could find were ubuntu desktops and I just > > > want > > > >> a > > > >> >>>> headless server with SSH. That is all I'm familiar with. I > > tried > > > to > > > >> >> set > > > >> >>>> one up myself but it was a disaster. > > > >> >>> > > > >> >>> > > > >> >>> Here's the page for the server download: > > > >> >>> > > > >> >>> http://www.ubuntu.com/download/server > > > >> >>> > > > >> >>> Although I'd suggest compiling your own couchdb, since the only > > one > > > >> >>> available from the repo is version 1.0.1. I'm sure there's a ppa > > > >> >> somewhere > > > >> >>> for a more up-to-date version, but compiling on ubuntu it is > > fairly > > > >> >> trivial. > > > >> >>> > > > >> >> > > > >> >> I could not find a ppa for a current couchdb, but I did find > > several > > > >> >> sources with directions. I made a quick reference here: > > > >> >> gist.github.com/3940371 > > > >> >> > > > >> >> -- > > > >> >> Regards, > > > >> >> Brian > > > >> >> > > > >> >> > > > >> > > > > >> By headless I assume that you mean you don't wish to run X. Just > have > > a > > > >> server for telnet / ssh. > > > >> > > > >> You are not limited to Ubuntu by the way. You may want to look at > > > >> Arch-Linux, or RedHat. Anyway ... > > > >> > > > >> I found this: > > > >> http://askubuntu.com/questions/16371/how-to-disable-x-at-boot-time. > > > >> > > > >> -- > > > >> Regards, > > > >> Brian > > > >> > > > >> > > > > > > > > > >
