#!/usr/bin/python
import
paramiko
import
time
user
=
raw_input
(
"Enter user name: "
)
p
=
'A'
*
25000
ssh
=
paramiko.SSHClient()
startTime
=
time.clock()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try
:
ssh.connect(ENTER SSH SERVER, username
=
user, password
=
p)
except
:
endTime
=
time.clock()
total
=
endTime
-
startTime
print
(
"Response time: %s"
,
%
total )