<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>vpsBible Forums &#187; Forum: Remote Access - Recent Posts</title>
		<link>http://vpsbible.com/forums/forum/remote-access</link>
		<description>Setup Unmanaged VPS for Linux Noobs!</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 01:20:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://vpsbible.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://vpsbible.com/forums/rss/forum/remote-access" rel="self" type="application/rss+xml" />

		<item>
			<title>xere on "App always running"</title>
			<link>http://vpsbible.com/forums/topic/app-always-running#post-2752</link>
			<pubDate>Mon, 02 Jan 2012 12:06:54 +0000</pubDate>
			<dc:creator>xere</dc:creator>
			<guid isPermaLink="false">2752@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi, I am new. First, my history: I have a Wndows VPS because I should keep running a trading windows application continuosly, auto-scanning the stock market and so on... But a Windows VPS is expensive, more than a Linux one. I have done some research with Virtual Box, creating an Ubuntu machine, installing some apps as a lightweight graphical environment, a VNC server, ssh server, wine and the trading app, with a minimal RAM consumption.&#60;br /&#62;
My question is: I need to keep running the VPS (adding the needed apps at the autostart) 24 hours/day and 365 days/year. But if I start a Putty session with an admin user (that is, a ssh session), when I close Putty, the session ends and the VPS stop?&#60;br /&#62;
Then, I thought that a solution maybe, that I arrange the VPS for autologin, and just share the desktop via VNC (tightvnc, by instance) when I would see what is happening. Is this idea right, or are there another ways to do it? Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alan Son on "How to Give SFTP User Specific Access to a Directory?"</title>
			<link>http://vpsbible.com/forums/topic/how-to-give-sftp-user-specific-access-to-a-directory#post-2730</link>
			<pubDate>Mon, 28 Nov 2011 14:59:49 +0000</pubDate>
			<dc:creator>Alan Son</dc:creator>
			<guid isPermaLink="false">2730@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;I ended up building a new Linode with the latest stackscript as I found that Unbuntu 8.04 LTS does not support this. Upgrading was just not going well for me.&#60;/p&#62;
&#60;p&#62;Also with a little help from guys on the IRC channel at Linode I get it working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alan Son on "How to Give SFTP User Specific Access to a Directory?"</title>
			<link>http://vpsbible.com/forums/topic/how-to-give-sftp-user-specific-access-to-a-directory#post-2727</link>
			<pubDate>Mon, 21 Nov 2011 22:55:26 +0000</pubDate>
			<dc:creator>Alan Son</dc:creator>
			<guid isPermaLink="false">2727@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi Ollie, I have been following the &#60;a href=&#34;http://vpsbible.com/remote-access/sftp-chroot-openssh-jail/&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/remote-access/sftp-chroot-openssh-jail/&#60;/a&#62; tutorial. When restarting ssh I get the following error. I am racking my brain as to what the problem is.&#60;/p&#62;
&#60;p&#62;/etc/ssh/sshd_config: line 79: Bad configuration option: ChrootDirectory&#60;br /&#62;
/etc/ssh/sshd_config line 79: Directive 'ChrootDirectory' is not allowed within a Match block&#60;/p&#62;
&#60;p&#62;Any ideas??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robertjakobson on "Permission Denied"</title>
			<link>http://vpsbible.com/forums/topic/permission-denied-1#post-2536</link>
			<pubDate>Thu, 18 Aug 2011 13:38:30 +0000</pubDate>
			<dc:creator>robertjakobson</dc:creator>
			<guid isPermaLink="false">2536@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Will try to do everything once again. But I did do everything you stated that needed to be done. Perhaps simply repeating the steps one by one again will be the answer. Will let you know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "Permission Denied"</title>
			<link>http://vpsbible.com/forums/topic/permission-denied-1#post-2535</link>
			<pubDate>Thu, 18 Aug 2011 06:56:21 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2535@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Sounds like your SSH configuration, Robert.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;nano /etc/ssh/sshd_config&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Check your setup with &#60;a href=&#34;http://vpsbible.com/security/harden-ssh-create-firewall/&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/security/harden-ssh-create-firewall/&#60;/a&#62; (arguably the most important guide on this site) ...&#60;/p&#62;
&#60;p&#62;... you added &#34;newuser&#34; to the AllowUsers directive? Got your keys setup between the new user's home dir and your Mac? (You can use the same *public* authentication key twice, shared between remote /home/USER/.ssh directories as detailed in that tut and in the authentication keys guide - &#60;a href=&#34;http://vpsbible.com/security/linux-linux-openssh/&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/security/linux-linux-openssh/&#60;/a&#62; - but for security's sake only do that if both users are you, else create individual keys for different human users). You Mac doesn't need the key dup'ed, only the VPS user ~ (user home) directories.&#60;/p&#62;
&#60;p&#62;... Come to think of it, ten-to-one that last point is your problem ... ssh can't find the user's key.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robertjakobson on "Permission Denied"</title>
			<link>http://vpsbible.com/forums/topic/permission-denied-1#post-2534</link>
			<pubDate>Thu, 18 Aug 2011 06:36:36 +0000</pubDate>
			<dc:creator>robertjakobson</dc:creator>
			<guid isPermaLink="false">2534@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi, I am simply trying to create a new user, other than the root, with adduser and I can create one and use it with &#34;su - newuser&#34; but when I try to login into it from my Mac Terminal using newuser@ip I get the &#34;Permission Denied&#34; error, after having entered the password. &#60;/p&#62;
&#60;p&#62;What on earth could be the problem, does anybody know?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>R. Anthony Solis on "How to Give SFTP User Specific Access to a Directory?"</title>
			<link>http://vpsbible.com/forums/topic/how-to-give-sftp-user-specific-access-to-a-directory#post-2459</link>
			<pubDate>Fri, 22 Jul 2011 02:12:00 +0000</pubDate>
			<dc:creator>R. Anthony Solis</dc:creator>
			<guid isPermaLink="false">2459@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Man, you are the best.  I'm gonna try this out on a cloned server first.  No more development or testing on the live servers!&#60;/p&#62;
&#60;p&#62;Thanks Ollie!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "How to Give SFTP User Specific Access to a Directory?"</title>
			<link>http://vpsbible.com/forums/topic/how-to-give-sftp-user-specific-access-to-a-directory#post-2449</link>
			<pubDate>Wed, 20 Jul 2011 13:07:45 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2449@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;good timing m8 :P&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/remote-access/sftp-chroot-openssh-jail/&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/remote-access/sftp-chroot-openssh-jail/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>R. Anthony Solis on "How to Give SFTP User Specific Access to a Directory?"</title>
			<link>http://vpsbible.com/forums/topic/how-to-give-sftp-user-specific-access-to-a-directory#post-2448</link>
			<pubDate>Wed, 20 Jul 2011 02:35:53 +0000</pubDate>
			<dc:creator>R. Anthony Solis</dc:creator>
			<guid isPermaLink="false">2448@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;I have some clients who are developers and like to get into the folders via SFTP.  Well actually FTP but I won't let them. :)&#60;/p&#62;
&#60;p&#62;How can I limit the SFTP user to their website directory only?  Don't want them messing with the other websites.&#60;/p&#62;
&#60;p&#62;Ant
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2331</link>
			<pubDate>Sun, 26 Jun 2011 13:11:16 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2331@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://www.youtube.com/watch?v=NFacYhPT6rk&#34; rel=&#34;nofollow&#34;&#62;http://www.youtube.com/watch?v=NFacYhPT6rk&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Amended version of video
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2330</link>
			<pubDate>Sat, 25 Jun 2011 20:19:56 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2330@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://media.shinywhitebox.com/marcus-west/terminal-demoli-ssh-21&#34; rel=&#34;nofollow&#34;&#62;http://media.shinywhitebox.com/marcus-west/terminal-demoli-ssh-21&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I did a vid...for whoever it may help..&#60;/p&#62;
&#60;p&#62;spot the stupid mistakes at the end&#60;/p&#62;
&#60;p&#62;*AllowUsers    (capital U)&#60;/p&#62;
&#60;p&#62;** should finish with &#38;lt;service ssh restart&#38;gt;  &#60;/p&#62;
&#60;p&#62;hmmm...think I need to work from a script...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2329</link>
			<pubDate>Sat, 25 Jun 2011 18:10:52 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2329@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;I finally got things working..used the WP stack
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2328</link>
			<pubDate>Sat, 25 Jun 2011 18:10:07 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2328@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Cheers Guv...&#60;/p&#62;
&#60;p&#62;Wordpress security...lol, yes I've had that a while now...better not do a Disney, I think its close to a year.&#60;/p&#62;
&#60;p&#62;I've just done a video for Ben...if its any good, maybe save you some tedious yards.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2327</link>
			<pubDate>Sat, 25 Jun 2011 16:49:20 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2327@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;PS .. Hiawatha is very nice and I'd love to do something on that, and Cherokee f'rinstance .. but .. don't hold your breath. ..&#60;/p&#62;
&#60;p&#62;The focus for this next phase is server maintenance, Apache (cos so many want it, using Nginx as a reverse proxy) .. but especially security topics and scripts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2326</link>
			<pubDate>Sat, 25 Jun 2011 16:43:34 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2326@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;hey Marcus,&#60;/p&#62;
&#60;p&#62;&#34;seems like I was being nasty saying that the support is minimal.&#34;&#60;/p&#62;
&#60;p&#62;No, you were right! I've been generally crap while writing the book. What with earning a crust and, for the book, spieling off what I reckon has amounted to the equivalent of about 200 tutorials here, it's been a hard slog this year.&#60;/p&#62;
&#60;p&#62;At long last though, I am back, vpsB is my foremost focus for the next year, the next phase of this project, and I'm only glad, with the extension to 24 months, that I'll be able to share that with this community that's sponsored this project.&#60;/p&#62;
&#60;p&#62;I'm exceedingly grateful for your input here, re Macs and SSH. I'll dust off my Hackintosh, play with this and add a MacTut to the docs here. A sweet addition indeed.&#60;/p&#62;
&#60;p&#62;&#34;seems to be a crease or two in the set-up process&#34;&#60;/p&#62;
&#60;p&#62;Really? I can say I've been using the script seamlessly, as have others, I know for sure, this very week. Then again, never say never. For crying out loud let me know what problems you've had, please. &#60;/p&#62;
&#60;p&#62;&#34;wordpresssecurity.co.uk&#34;&#60;/p&#62;
&#60;p&#62;Now that's intriguing! What's that for, then? I guess you've seen &#60;a href=&#34;http://guv.li/wpvps&#34; rel=&#34;nofollow&#34;&#62;http://guv.li/wpvps&#60;/a&#62; ? My book's &#34;WordPress 3 Ultimate Security&#34;. Looks like we've got some common interests there.&#60;/p&#62;
&#60;p&#62;&#34;At the start, you just fill in all conditions &#34;&#34; for your wordpress install, and paste into your terminal, correct?&#34;&#60;/p&#62;
&#60;p&#62;You are talking about the script variable here, no? If so, yes, do as the #comments say, filling those in as suggested. Much of my time over the next couple of months is about making this script more user-friendly. Again, comments appreciated.&#60;/p&#62;
&#60;p&#62;&#34;ok, working now&#34;&#60;/p&#62;
&#60;p&#62;So what was the issue? Something, I suspect, wasn't clear. Pleased you got it going though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2325</link>
			<pubDate>Sat, 25 Jun 2011 10:26:37 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2325@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;ok, working now
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2324</link>
			<pubDate>Sat, 25 Jun 2011 08:05:49 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2324@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;In answer to your question Guv....&#60;/p&#62;
&#60;p&#62;I am good up to the end of the PHP module.&#60;/p&#62;
&#60;p&#62;Here's the proof:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.wordpresssecurity.co.uk/&#34; rel=&#34;nofollow&#34;&#62;http://www.wordpresssecurity.co.uk/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but getting WP up is a real problem.&#60;/p&#62;
&#60;p&#62;I must be doing something wrong.&#60;/p&#62;
&#60;p&#62;At the start, you just fill in all conditions &#34;&#34; for your wordpress install, and paste into your terminal, correct?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2316</link>
			<pubDate>Fri, 24 Jun 2011 20:11:55 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2316@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Ok , seems like I was being nasty saying that the support is minimal.&#60;/p&#62;
&#60;p&#62;Sorry bout that Olly.&#60;/p&#62;
&#60;p&#62;Once I've got this Ngine running, i am sure I'll be more than happy with my £5 a year subscription.&#60;/p&#62;
&#60;p&#62;But there seems to be a crease or two in the set-up process Olly, I'll send you some info.&#60;/p&#62;
&#60;p&#62;(And any chance you can do a Hiawatha guide?)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2313</link>
			<pubDate>Fri, 24 Jun 2011 17:26:43 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2313@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Its actually easier than you think Ben...but it still took my ages...probably because I am thick.&#60;/p&#62;
&#60;p&#62;1) Forget windows (in every possible sense)&#60;/p&#62;
&#60;p&#62;Here's what I do on Ubuntu 10.04 LTS (any Ubuntu / Debian )&#60;/p&#62;
&#60;p&#62;firstly create these passwords and usernames in a text doc. (I lock my text doc away using TrueCrypt - not essential tho)&#60;/p&#62;
&#60;p&#62;Server host password (stars = numbers)&#60;br /&#62;
************************&#60;/p&#62;
&#60;p&#62;Server IP + log in&#60;br /&#62;
ssh &#60;a href=&#34;mailto:root@111.11.111.11&#34;&#62;root@111.11.111.11&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Root password&#60;br /&#62;
************************&#60;/p&#62;
&#60;p&#62;New root password&#60;br /&#62;
************************&#60;/p&#62;
&#60;p&#62;Username&#60;br /&#62;
roger&#60;/p&#62;
&#60;p&#62;User password&#60;br /&#62;
*************************&#60;/p&#62;
&#60;p&#62;Mysql password (if you create using lastpass don't use symbols, just numbers and letters)&#60;br /&#62;
********************&#60;/p&#62;
&#60;p&#62;OK. That's all there to paste in as you go along.&#60;/p&#62;
&#60;p&#62;Now&#60;/p&#62;
&#60;p&#62;1) rebuild your server!&#60;br /&#62;
2) log in as root (e.g. ssh &#60;a href=&#34;mailto:root@111.11.11.11&#34;&#62;root@111.11.11.11&#60;/a&#62;)&#60;br /&#62;
3) &#38;lt;adduser roger&#38;gt;   (or whatever username you want to use)&#60;br /&#62;
4) paste in password (twice)&#60;br /&#62;
5)&#38;lt;visudo&#38;gt;&#60;br /&#62;
6) under&#60;br /&#62;
root   ALL(ALL:ALL)ALL&#60;br /&#62;
roger  ALL(ALL:ALL)ALL&#60;br /&#62;
(clear a line with enter - don't know if that matters)&#60;br /&#62;
ctrl X = save&#60;br /&#62;
y&#60;br /&#62;
 you can quickly change your root passwd if u want&#60;/p&#62;
&#60;p&#62;&#38;lt;passwd&#38;gt;&#60;br /&#62;
put in new passwd&#60;/p&#62;
&#60;p&#62;OK. NOW TO change file&#60;br /&#62;
&#38;lt;nano /etc/ssh/sshd_config&#38;gt;&#60;/p&#62;
&#60;p&#62;change ur port - put something under about 63000, eg, 42678&#60;br /&#62;
&#38;amp;&#60;br /&#62;
disable root login. so, change yes to no.&#60;/p&#62;
&#60;p&#62;permitrootlogin no&#60;/p&#62;
&#60;p&#62;I think it is already &#34;uncommented&#34;, but make sure it is &#34;uncommented&#34;.&#60;br /&#62;
(i.e. it should not have the # at the start).&#60;/p&#62;
&#60;p&#62;OK.&#60;/p&#62;
&#60;p&#62;CTRL X &#38;amp; save&#60;/p&#62;
&#60;p&#62;now restart ssh&#60;/p&#62;
&#60;p&#62;&#38;lt;service ssh restart&#38;gt;&#60;/p&#62;
&#60;p&#62;[sometimes it is&#60;br /&#62;
&#38;lt;/etc/init.d/ssh restart&#38;gt;]&#60;/p&#62;
&#60;p&#62;ok, all good?&#60;/p&#62;
&#60;p&#62;if you go back into the sshd_config file&#60;br /&#62;
&#38;lt;nano /etc/ssh/sshd_config&#38;gt;&#60;/p&#62;
&#60;p&#62;your changes should now be in operation&#60;/p&#62;
&#60;p&#62;ok. you have basic security.&#60;/p&#62;
&#60;p&#62;Now for keypair.&#60;/p&#62;
&#60;p&#62;Open a new terminal.(shell , new window)&#60;/p&#62;
&#60;p&#62;&#38;lt;ssh-keygen&#38;gt;&#60;/p&#62;
&#60;p&#62;this appears:&#60;br /&#62;
Enter file in which to save the key (/Users/marcuswest/.ssh/id_rsa):&#60;/p&#62;
&#60;p&#62;just type enter&#60;/p&#62;
&#60;p&#62;now, put in a nice keygen password. DO NOT LEAVE THIS ON YOUR PC. Have it written down in about three places.&#60;/p&#62;
&#60;p&#62;e.g gy6£$kI')nn%£$£bnf&#60;/p&#62;
&#60;p&#62;now, add in your keygen password.&#60;/p&#62;
&#60;p&#62;Ok, you now have a keypair created.&#60;/p&#62;
&#60;p&#62;close that terminal&#60;/p&#62;
&#60;p&#62;in your main (first) terminal EXIT&#60;/p&#62;
&#60;p&#62;now log back in with&#60;/p&#62;
&#60;p&#62;ssh &#60;a href=&#34;mailto:roger@111.11.111.11&#34;&#62;roger@111.11.111.11&#60;/a&#62; -p42678&#60;/p&#62;
&#60;p&#62;(or whatever)&#60;/p&#62;
&#60;p&#62;So you log back in, then, (you can do this step directly from the VPS bible.)&#60;/p&#62;
&#60;p&#62;&#38;lt;mkdir /home/guvnr/.ssh&#38;gt;&#60;br /&#62;
&#38;lt;nano /home/guvnr/.ssh/authorized_keys&#38;gt;&#60;/p&#62;
&#60;p&#62;HERE YOU COPY AND PASTE IN YOUR PUBLIC AUTHENTICATION KEY. You open finder, (bottom left of screen) then GO (top bar) then from menu, GO TO FOLDER, then search for &#38;lt;~/.ssh&#38;gt; then open id.rsa.pub, and then copy and paste the entire contents .&#60;/p&#62;
&#60;p&#62;[this is optional  - you can now 'CTRL + W' and search 'ssh', it will take you to the start of the public key. Make sure it is one gap after rsa&#60;br /&#62;
ssh-rsa fnwerifrfirbfq ]&#60;/p&#62;
&#60;p&#62;&#38;lt;chown -R guv:guv /home/guv/.ssh&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;chmod 700 /home/guv/.ssh&#60;br /&#62;
.chmod 600 /home/gu/.ssh/authorized_keys&#38;gt;&#60;/p&#62;
&#60;p&#62;now exit log out.&#60;/p&#62;
&#60;p&#62;now log back in&#60;/p&#62;
&#60;p&#62;&#38;lt;ssh &#60;a href=&#34;mailto:roger@111.111.11.11&#34;&#62;roger@111.111.11.11&#60;/a&#62; -p47628&#38;gt;&#60;/p&#62;
&#60;p&#62;it should ask you your keygen password&#60;/p&#62;
&#60;p&#62;type it in, and you should get access&#60;/p&#62;
&#60;p&#62;THAT'S ALMOST IT.&#60;/p&#62;
&#60;p&#62;now in this session, it won't ask your keypair again.&#60;/p&#62;
&#60;p&#62;FINALLY&#60;/p&#62;
&#60;p&#62;go into the sshd_config&#60;/p&#62;
&#60;p&#62;this time sudo, because you are not root&#60;br /&#62;
so,&#60;/p&#62;
&#60;p&#62;&#38;lt;sudo nano /etc/ssh/sshd_config&#38;gt;&#60;/p&#62;
&#60;p&#62;and add at the end:&#60;br /&#62;
usePAM no&#60;br /&#62;
useDNS no&#60;br /&#62;
AllowUsers   roger&#60;/p&#62;
&#60;p&#62;disallow X11forwarding&#60;/p&#62;
&#60;p&#62;and most importantly disallow password entry&#60;/p&#62;
&#60;p&#62;passwordauthentication no&#60;/p&#62;
&#60;p&#62;and that's it
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2311</link>
			<pubDate>Fri, 24 Jun 2011 16:59:40 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2311@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;oh, and when it is working, ensure to change ..&#60;/p&#62;
&#60;p&#62;PasswordAuthentication yes&#60;/p&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;p&#62;PasswordAuthentication no&#60;/p&#62;
&#60;p&#62;adn restart ssh again, open another terminal instance, have a cheer and carry on!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2310</link>
			<pubDate>Fri, 24 Jun 2011 16:58:24 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2310@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;the main thing when adding keys is to ensure you have:-&#60;/p&#62;
&#60;p&#62;PasswordAuthentication yes&#60;/p&#62;
&#60;p&#62;.. set in the /etc/ssh/sshd_config file, and that you've then reset ssh:-&#60;/p&#62;
&#60;p&#62;/etc/init.d/ssh restart&#60;/p&#62;
&#60;p&#62;Having done that you will be able to test the keys by opening a second window (don't close the first, to be safe).&#60;/p&#62;
&#60;p&#62;If there's a key problem it's almost always an issue, as explained in the guide, with the &#34;spacing&#34;, say, an added space or a wrapped line, in the server key file:-&#60;/p&#62;
&#60;p&#62;/home/USER/.ssh/authorized_keys&#60;/p&#62;
&#60;p&#62;.. in which case, cos you're not locked out, you can back-track.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ben on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2308</link>
			<pubDate>Fri, 24 Jun 2011 10:06:53 +0000</pubDate>
			<dc:creator>Ben</dc:creator>
			<guid isPermaLink="false">2308@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi Olly&#60;/p&#62;
&#60;p&#62;Will give Cyberduck another bash.&#60;/p&#62;
&#60;p&#62;I got teh keypair working fine, but now I'm locked out when on both PC &#38;amp; Mac when I try and use auth keys.  I can get in with using just terminal commands &#38;amp; using a password. &#60;/p&#62;
&#60;p&#62;Need to back track - as I only have the pc key in now - and that just doesnt let me in.&#60;/p&#62;
&#60;p&#62;Fun &#38;amp; games for a change!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>the_guv on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2304</link>
			<pubDate>Thu, 23 Jun 2011 22:59:41 +0000</pubDate>
			<dc:creator>the_guv</dc:creator>
			<guid isPermaLink="false">2304@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;hey Ben,&#60;/p&#62;
&#60;p&#62;Cyberduck's generally regarded as the user/protocol-friendly option for Macs (SFTP as well as SSH, f'rinstance).&#60;/p&#62;
&#60;p&#62;jb explained his method in &#60;a href=&#34;http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;.. Marcus, did that not work for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ben on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2303</link>
			<pubDate>Thu, 23 Jun 2011 11:19:38 +0000</pubDate>
			<dc:creator>Ben</dc:creator>
			<guid isPermaLink="false">2303@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi Marcus&#60;/p&#62;
&#60;p&#62;Thanks for that, seen that thread earlier.  Followed the pointers &#38;amp; that youtube vid was good, so go it going.&#60;/p&#62;
&#60;p&#62;Just logged in on the mac and it worked.&#60;/p&#62;
&#60;p&#62;Problem is now I cant log on either on the Mac or PC without disabling auth keys, and entering the password in.............arrggghh!&#60;/p&#62;
&#60;p&#62;I though at first I had pasted the wrong keys in, but triple checked, and just tried to use the PC key - i.e. revert back to the changes before I entered a second key in authorized keys.  Didnt work, getting:&#60;/p&#62;
&#60;p&#62;&#34;Server unexpectedly closed the network connection&#34; on't PC&#60;/p&#62;
&#60;p&#62;on the mac its&#60;/p&#62;
&#60;p&#62;&#34;Connection closed by 80.**.**.**&#34;&#60;/p&#62;
&#60;p&#62;Which I note you was getting on that thread:&#60;/p&#62;
&#60;p&#62;&#34;Now when I try to log in I get an immediate:&#60;/p&#62;
&#60;p&#62;&#34;Connection closed by 178.79.***.***&#34;&#60;br /&#62;
&#34;&#60;/p&#62;
&#60;p&#62;Hmm, wonder if logging in on two different machines at the same time with different keys has stuffed it?&#60;/p&#62;
&#60;p&#62;--&#60;br /&#62;
I guess the mac terminal is just the same as putty, looks it.&#60;/p&#62;
&#60;p&#62;Will give Cyberduck a proper trial - just couldnt get around it properly and I like to have local/server view side by side.&#60;/p&#62;
&#60;p&#62;Anyway - appreciate the reply &#38;amp; assistance.&#60;/p&#62;
&#60;p&#62;Ben.&#60;br /&#62;
Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2302</link>
			<pubDate>Thu, 23 Jun 2011 00:03:28 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2302@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi Ben,&#60;/p&#62;
&#60;p&#62;To create the keypair - follow this.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Putty and Pageant alternatives are not required.&#60;/p&#62;
&#60;p&#62;Cyberduck is good...give it another try.&#60;/p&#62;
&#60;p&#62;But I have been through the rest of guide here half a dozen times, and it doesn't work, and the support is minimal, so don't expect things to be easy ;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ben on "Mac versions of Putty, Pagent &#38; WinSCP"</title>
			<link>http://vpsbible.com/forums/topic/mac-versions-of-putty-pagent-winscp#post-2301</link>
			<pubDate>Wed, 22 Jun 2011 12:22:53 +0000</pubDate>
			<dc:creator>Ben</dc:creator>
			<guid isPermaLink="false">2301@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Howdy&#60;/p&#62;
&#60;p&#62;I'm now swapping my computing needs onto a Mac and I'm looking for Mac equivalent apps for:&#60;/p&#62;
&#60;p&#62;Putty&#60;br /&#62;
Pagent&#60;br /&#62;
WinScp&#60;/p&#62;
&#60;p&#62;So far, tried CyberDuck &#38;amp; Fugu but havnt been able to get on with them.   I love WinSCP - it's made SFTP'ing very easy - especially the sync folders button!&#60;/p&#62;
&#60;p&#62;Does the mac terminal act like putty?  Not been able to get connected (probably due to access keys looking at that other thread on here).&#60;/p&#62;
&#60;p&#62;Any pointers would be very much appreciated - as I have Win7 on dualboot, but aiming to leave windows forever :)&#60;/p&#62;
&#60;p&#62;Ben.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Adding the SSH Keypair in OS X"</title>
			<link>http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x#post-2249</link>
			<pubDate>Mon, 06 Jun 2011 13:44:12 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2249@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;I seem to have sorted things now..cheers JB. Excellent guide. &#60;/p&#62;
&#60;p&#62;I was trying to do things in reverse order by changing ports and permissions first. &#60;/p&#62;
&#60;p&#62;It is easier to follow Guv's order.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Adding the SSH Keypair in OS X"</title>
			<link>http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x#post-2244</link>
			<pubDate>Sat, 04 Jun 2011 20:29:39 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2244@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Everything went really well Jb..until..&#60;br /&#62;
I completed the sshd_config changes as per Guvnr, and then prior to setting my IPtables, I ran /etc/init.d/ssh stop and restart&#60;/p&#62;
&#60;p&#62;that was more or less it.&#60;/p&#62;
&#60;p&#62;Now when I try to log in I get an immediate:&#60;/p&#62;
&#60;p&#62;&#34;Connection closed by 178.79.***.***&#34;&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SkinnyGeek1010 on "Adding the SSH Keypair in OS X"</title>
			<link>http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x#post-2241</link>
			<pubDate>Sat, 04 Jun 2011 02:44:47 +0000</pubDate>
			<dc:creator>SkinnyGeek1010</dc:creator>
			<guid isPermaLink="false">2241@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;Hi Marcus,&#60;/p&#62;
&#60;p&#62;If your still having troubles, checkout this video I posted a while back. I used it to make my key pair with OS-X 10.6. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://vpsbible.com/forums/topic/how-to-setup-openssh-for-os-x-client&#34; rel=&#34;nofollow&#34;&#62;http://vpsbible.com/forums/topic/how-to-setup-openssh-for-os-x-client&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Marcus West on "Adding the SSH Keypair in OS X"</title>
			<link>http://vpsbible.com/forums/topic/adding-the-ssh-keypair-in-os-x#post-2240</link>
			<pubDate>Thu, 02 Jun 2011 20:49:55 +0000</pubDate>
			<dc:creator>Marcus West</dc:creator>
			<guid isPermaLink="false">2240@http://vpsbible.com/forums/</guid>
			<description>&#60;p&#62;nice one JB. Much appreciated.&#60;br /&#62;
A pint is on me.&#60;/p&#62;
&#60;p&#62;Actually I am more or less doing this....but I am obviously missing some small detail. &#60;/p&#62;
&#60;p&#62;Off to the '9-5' now, but hopefully will get this sorted soon.&#60;/p&#62;
&#60;p&#62;....didn't know about Houdini....
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

