Automatically send a string when opening a raw connection in putty
        Posted  
        
            by 
                MBraedley
            
        on Super User
        
        See other posts from Super User
        
            or by MBraedley
        
        
        
        Published on 2010-08-27T17:36:15Z
        Indexed on 
            2011/02/11
            15:27 UTC
        
        
        Read the original article
        Hit count: 299
        
I have a program running on a server that accepts TCP/IP connections on a specified port. When a connection is made, this program waits for the user (i.e. me) to send a string which identifies the type of user. Once the user identifies themselves, the program will start sending data that is relevant to that user type. I want to automate the first step and have putty automatically send the user identification string once the connection is made. I've been through the settings, and can't seem to find anything like "send following commands on connection". Any help would be appreciated.
© Super User or respective owner