Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]
Browse files Browse the repository at this point in the history
even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
  • Loading branch information
Robey Pointer committed Feb 28, 2005
1 parent 7490172 commit fead211
Show file tree
Hide file tree
Showing 41 changed files with 158 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -10,7 +10,7 @@
# ivysaur (22oct04)
# jigglypuff (6nov04) - 1.0
# kabuto (12dec04) - 1.1
# lapras (26feb05) - 1.2
# lapras (28feb05) - 1.2

release:
python ./setup.py sdist --formats=zip
Expand Down
8 changes: 5 additions & 3 deletions README
@@ -1,7 +1,7 @@
paramiko 1.2
"lapras" release, 26 feb 2005
"lapras" release, 28 feb 2005

Copyright (c) 2003-2004 Robey Pointer <robey@lag.net>
Copyright (c) 2003-2005 Robey Pointer <robey@lag.net>

http://www.lag.net/paramiko/

Expand Down Expand Up @@ -158,7 +158,9 @@ v1.2 LAPRAS
* moved check_global_request into ServerInterface, where it should've been
all along (oops)
* SFTPHandle's default implementations are fleshed out more
* made logging a bit more consistent
* made logging a bit more consistent, and started logging thread ids
* fixed a few race conditions, one of which would sometimes cause a Transport
to fail to start on slow machines
* more unit tests

v1.1 KABUTO
Expand Down
18 changes: 18 additions & 0 deletions demo.py
@@ -1,5 +1,23 @@
#!/usr/bin/python

# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
# Paramiko is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

import sys, os, socket, threading, getpass, time, base64, select, termios, tty, traceback
import paramiko

Expand Down
18 changes: 18 additions & 0 deletions demo_server.py
@@ -1,5 +1,23 @@
#!/usr/bin/python

# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
# Paramiko is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

import sys, os, socket, threading, traceback, base64
import paramiko

Expand Down
18 changes: 18 additions & 0 deletions demo_simple.py
@@ -1,5 +1,23 @@
#!/usr/bin/python

# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
# Paramiko is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

import sys, os, base64, getpass, socket, traceback, termios, tty, select
import paramiko

Expand Down
19 changes: 19 additions & 0 deletions demo_windows.py
@@ -1,5 +1,24 @@
#!/usr/bin/python

# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
# Paramiko is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.


# This demo is like demo_simple.py, but it doesn't try to use select()
# to poll the ssh channel for reading, so it can be used on Windows.
# It logs into a shell, executes "ls", prints out the results, and
Expand Down
18 changes: 18 additions & 0 deletions forward.py
@@ -1,5 +1,23 @@
#!/usr/bin/python

# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
# Paramiko is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

"""
Sample script showing how to do local port forwarding over paramiko.
Expand Down
4 changes: 2 additions & 2 deletions paramiko/__init__.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down Expand Up @@ -61,7 +61,7 @@


__author__ = "Robey Pointer <robey@lag.net>"
__date__ = "26 Feb 2005"
__date__ = "28 Feb 2005"
__version__ = "1.2 (lapras)"
__license__ = "GNU Lesser General Public License (LGPL)"

Expand Down
2 changes: 1 addition & 1 deletion paramiko/auth_transport.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/ber.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/channel.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/common.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/dsskey.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/file.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/kex_gex.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/kex_group1.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/logging22.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/message.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/pkey.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/primes.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/rsakey.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/server.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/sftp.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/sftp_attr.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
12 changes: 6 additions & 6 deletions paramiko/sftp_client.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down Expand Up @@ -52,7 +52,7 @@ def __init__(self, sock):
# override default logger
transport = self.sock.get_transport()
self.logger = util.get_logger(transport.get_log_channel() + '.' +
self.sock.get_name() + '.sftp')
self.sock.get_name() + '.sftp')
self.ultra_debug = transport.ultra_debug
self._send_version()

Expand Down Expand Up @@ -145,7 +145,7 @@ def open(self, filename, mode='r', bufsize=-1):
@param mode: mode (python-style) to open in.
@type mode: string
@param bufsize: desired buffering (-1 = default buffer size, 0 =
unbuffered, 1 = line buffered, >1 = requested buffer size).
unbuffered, 1 = line buffered, >1 = requested buffer size).
@type bufsize: int
@return: a file object representing the open file.
@rtype: SFTPFile
Expand Down Expand Up @@ -176,7 +176,7 @@ def remove(self, path):
@type path: string
@raise IOError: if the path refers to a folder (directory). Use
L{rmdir} to remove a folder.
L{rmdir} to remove a folder.
"""
self._request(CMD_REMOVE, path)

Expand All @@ -192,7 +192,7 @@ def rename(self, oldpath, newpath):
@type newpath: string
@raise IOError: if C{newpath} is a folder, or something else goes
wrong.
wrong.
"""
self._request(CMD_RENAME, oldpath, newpath)

Expand Down Expand Up @@ -317,7 +317,7 @@ def utime(self, path, times):
@param path: path of the file to modify.
@type path: string
@param times: C{None} or a tuple of (access time, modified time) in
standard internet epoch time (seconds since 01 January 1970 GMT).
standard internet epoch time (seconds since 01 January 1970 GMT).
@type times: tuple of int
"""
if times is None:
Expand Down
2 changes: 1 addition & 1 deletion paramiko/sftp_handle.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/sftp_server.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/sftp_si.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/ssh_exception.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/transport.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down
2 changes: 1 addition & 1 deletion paramiko/util.py
@@ -1,6 +1,6 @@
#!/usr/bin/python

# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Expand Down

0 comments on commit fead211

Please sign in to comment.