daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sftp -o Port=xxx username@ip_address
  2.    
  3. # connects to SFTP
  4. LOGGER.debug('Connecting to SFTP server...')
  5. sftp = ftplib.FTP_TLS()
  6. sftp.connect(configs.ftp_host, configs.ftp_port, timeout=60)
  7. sftp.login(configs.ftp_username, configs.ftp_password)
  8. #sftp.prot_p()  # enable secure connection
  9. LOGGER.debug('Connected to SFTP server.')
  10.    
  11. File "/opt/itinerator/pyre/lib/python2.6/socket.py", line 406, in readline
  12. data = self._sock.recv(self._rbufsize)
  13. socket.timeout: timed out
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top