Hi there,
Trying to write a small script in python. What it will basically do is this;
1- A SSH user initiates the python script (from SSH remotely)
2- The script gets the connected users IP (the user is connected through SSH)
3- The connected IP is sent back to the user
I got the part where the user initiates script (the easiest part so far)
I also got to write to a file and send the same file using SSH and Python
The part I need help is in the step 2
I am a first time Python programmer. Been using it for three days so be kind to me please ^_^