December 1, 201213 yr On my Windows PC i'm using Putty to connect to my unraid machine, and when i do, it immediatly starts a telnet session, and it prompts me with the unraid login, in which i only have to enter 'root': UNRAID login: But on my mac mini, using iTerm2, i have to manually connect using the telnet command, and it asks me for a password? I can just add anything and enter, and after that it connects me to unraid's prompt. Mac-Mini:~ xxxxx$ telnet 192.168.1.25 Trying 192.168.1.25... Connected to UNRAID. Escape character is '^]'. Password: How can i make iTerm work as easy as Putty? In other words, i want iTerm to only show me unraid's prompt and skip the whole escape character and password thingy.
December 1, 201213 yr you can add this line to your ~/.profile file: alias telnet="telnet -l root 192.168.1.111" next time you can type just "telnet", without root or server address (which of course you have to change so it matches your setup). you can use any word you like, it doesn't have to be "telnet"
December 1, 201213 yr Author Use ssh and keys and you don't even need a password A how-to or link to an explanation would be nice
December 1, 201213 yr you can add this line to your ~/.profile file: alias telnet="telnet -l root 192.168.1.111" next time you can type just "telnet", without root or server address (which of course you have to change so it matches your setup). you can use any word you like, it doesn't have to be "telnet" How do I find my profile file and does this work with terminal?
December 2, 201213 yr On my Windows PC i'm using Putty to connect to my unraid machine, and when i do, it immediatly starts a telnet session, and it prompts me with the unraid login, in which i only have to enter 'root': UNRAID login: But on my mac mini, using iTerm2, i have to manually connect using the telnet command, and it asks me for a password? I can just add anything and enter, and after that it connects me to unraid's prompt. Mac-Mini:~ xxxxx$ telnet 192.168.1.25 Trying 192.168.1.25... Connected to UNRAID. Escape character is '^]'. Password: How can i make iTerm work as easy as Putty? In other words, i want iTerm to only show me unraid's prompt and skip the whole escape character and password thingy. Just it enter and the login prompt will appear.
December 2, 201213 yr Author Just it enter and the login prompt will appear. Yeah i know. Like i said, that is NOT what i want. Anyway, gfjardim gave the right answer.
December 2, 201213 yr you can add this line to your ~/.profile file: alias telnet="telnet -l root 192.168.1.111" next time you can type just "telnet", without root or server address (which of course you have to change so it matches your setup). you can use any word you like, it doesn't have to be "telnet" How do I find my profile file and does this work with terminal? .profile is a hidden file (hence the "." before the file name) in your OS X home folder, path is : /Users/YOURUSERNAME/.profile or shortened path: ~/.profile. If the file doesnt exist, you have to create it. Open Terminal and type: pico ~/.profile paste the alias code, and when you are done, press CTRL+X (for Exit), then Y (for Yes) and then Enter. Alias should work when you close Terminal and open it again.
December 3, 201213 yr Use ssh and keys and you don't even need a password A how-to or link to an explanation would be nice Try a forum search.. Pretty much every question has been asked before... http://lime-technology.com/forum/index.php?topic=20848.0
Archived
This topic is now archived and is closed to further replies.