1) # vi /etc/ssh/sshd_config PermitUserEnvironment yes # ¿ÞÂÊ°ú °°ÀÌ »ç¿ëÀÚ È¯°æÀ» »ç¿ëÇÑ´Ù°í ¼³Á¤ÇÑ´Ù.
2) user »ç¿ëÀÚÀÇ ~/.ssh/environment ÆÄÀÏ¿¡ ´ÙÀ½À» Ãß°¡ÇÑ´Ù. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
3) sshd¸¦ restart ½ÃŲ´Ù. # /etc/init.d/sshd restart
|