Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Remote IPCONFIG

  • 22-05-2009 9:02am
    #1
    Registered Users, Registered Users 2 Posts: 7,020 ✭✭✭


    Does anybody know of any utility or command that I can use from my PC to gather all the IP details (like IP Config /all) of remote servers

    21/25



Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    Are they windows servers?


  • Registered Users, Registered Users 2 Posts: 7,020 ✭✭✭uch


    a mixture of windows and linux

    21/25



  • Registered Users, Registered Users 2 Posts: 1,849 ✭✭✭Redisle


    For Windows ones I guess you could connect using a vpn and use this


  • Registered Users, Registered Users 2 Posts: 1,190 ✭✭✭wolfric


    Well you could make your own with netcat and a little scripting.


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    For linux ones, set up ssh key exchange, then you can automate the whole process by running (probably from cygwin if you're running windows):

    ssh <server> ifconfig -a

    I'm not sure if you can set up an ssh server on a windows box, but if you can, that would be how I'd do it, then just have "one script to rule them all".


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,190 ✭✭✭wolfric


    Forgive me for being so bold but i am fairly sure he's not going to want to switch to linux just to be able to do "ifconfig" remotly.


  • Registered Users, Registered Users 2 Posts: 4,864 ✭✭✭MunsterCycling


    Maybe read the thread and you'd see he has some windoze machines and linux boxes to get the ip info from, ifconfig using an ssh tunnel would be a good idea.

    MC


  • Registered Users, Registered Users 2 Posts: 11,264 ✭✭✭✭jester77


    Cygwin comes with an openssh server, so you could use that on the windows machines.


  • Moderators, Music Moderators Posts: 23,363 Mod ✭✭✭✭feylya


    If you're using dell servers, why not set up khannie's script to poll the DRAC? You can SSH to that.


  • Registered Users, Registered Users 2 Posts: 7,020 ✭✭✭uch


    thanks lads, only problem is I know squat diddly about Linux, I just need to get an inventory of IP details of all servers but I dont have access to the most of the servers

    21/25



  • Advertisement
  • Closed Accounts Posts: 422 ✭✭CCSL


    will give you basic info on all machines on a subnet ip address name and any open ports. would be a start at least.

    to get the computers mac address ping it and then run arp -a to show the list.


Advertisement