def createSSHClient(server, port, user, password):
client = paramiko.SSHClient()
client.load_system_host_keys()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client.connect(server, port, user, password)
print "Connection Established Here"
return client
ssh = createSSHClient('xxx.xxx.x.xxx', 'xx', 'username', 'password')
scp = SCPClient(ssh.get_transport())
print "Sending file to server"
scp.put('D:/AMRITESH/ContractMonitoring/'+fileName, '/usr/share/asterisk/sounds')