Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25603

Re: Need help connecting via a remote VPN

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.059
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'subject:help': 0.07; 'cc:addr:python-list': 0.10; 'files.': 0.13; 'found"': 0.16; 'modules,': 0.16; 'ssh': 0.16; 'vpn': 0.16; 'wrote:': 0.17; 'examples': 0.18; 'trying': 0.21; 'do.': 0.21; 'latter': 0.22; 'machine.': 0.22; 'cc:2**0': 0.23; 'specified': 0.23; "haven't": 0.23; 'cc:no real name:2**0': 0.24; 'machine': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'guess': 0.27; 'logging': 0.27; 'question': 0.27; 'probably': 0.29; "i'm": 0.29; 'that.': 0.30; 'file': 0.32; 'accessible': 0.33; 'recommended': 0.33; 'version': 0.34; 'server': 0.35; 'protocol': 0.35; 'pm,': 0.35; 'remote': 0.35; 'there': 0.35; 'but': 0.36; 'operating': 0.36; 'possible': 0.37; 'does': 0.37; 'two': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'some': 0.38; 'possible.': 0.38; 'sure': 0.38; 'system.': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'think': 0.40; 'most': 0.61; 'subject:Need': 0.61; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'access?': 0.84; 'common,': 0.84; 'received:74.208.4.194': 0.84; 'subject:via': 0.84; 'kid': 0.91
Date Wed, 18 Jul 2012 21:59:51 -0400
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version 1.0
To The Coca Cola Kid <thecocacolakid@gmail.com>
Subject Re: Need help connecting via a remote VPN
References <ju7oac$2fh$1@speranza.aioe.org>
In-Reply-To <ju7oac$2fh$1@speranza.aioe.org>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:TiGbs5AjEL4Ry8meZwe5me05kRWnJKyY0bbozRwGmvX VGYuBGnTJjWBTC1oeZDIr0KsxytLmFTdAB0uXlFFYMX5DOFjhO TjhM6/zYNIhTxkwkHcv9zAdhdG7bF/qjWAUFYP4tCKRuvkBn7C otXfV4kyxHGemzitmzdZcp/Z7yLkFxvA1w2ldiWWjGJz9mG4cj PUE7JJK4U1SjNoh+FWub9/FJv2MJemnu11qex+Ga284++0g3Kn 39kE57DZgy4rFDzlpi3OXGTyPi9ScOu7wTVMokXTJUB7YB83Dx MhpAsQNUKFznqkKw9inLNJ6d4s1baVY2rLC4+okczfVCO09Lg= =
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To d@davea.name
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2284.1342663213.4697.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1342663213 news.xs4all.nl 6886 [2001:888:2000:d::a6]:58414
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25603

Show key headers only | View raw


On 07/18/2012 09:36 PM, The Coca Cola Kid wrote:
> I need to connect to a site/server that's only accessible after
> logging into a remote VPN, then scan a directory for a file pattern
> and then copy those files.  I know how to do the latter using glob,
> and I think I figured out how to connect to the VPN using win32ras and
> got a response that said "302 Found" but I'm not sure what to do after
> that.  Some people recommended using SSH or fabric.api modules, but I
> couldn't find any examples that applied to what I'm trying to do.

Starting a VPN simply makes it possible for IP packets to get to the
specified machine.  You still need to match some protocol that the
particular remote machine can handle.  SSH is probably the most common,
but there are lots of other possibilities, some standard and some
custom.  So the question is what does the remote machine (server)
support for file access?

glob will work if the server supports mounting the remote partition as a
file system.  But there are no guarantees that that's possible.  You
haven't even said what the two operating systems involved are, though I
can guess that the local machine is some version of Windows.


-- 

DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need help connecting via a remote VPN "The Coca Cola Kid" <thecocacolakid@gmail.com> - 2012-07-18 20:36 -0500
  Re: Need help connecting via a remote VPN Dave Angel <d@davea.name> - 2012-07-18 21:59 -0400
    Re: Need help connecting via a remote VPN "The Coca Cola Kid" <thecocacolakid@gmail.com> - 2012-07-19 20:41 -0500
      Re: Need help connecting via a remote VPN Dave Angel <d@davea.name> - 2012-07-19 21:58 -0400

csiph-web