〜/ .bashrc中
@RequestMapping(method = RequestMethod.GET, value = "/myMethod")
@ResponseBody
public Object myMethod(@RequestParam Map<String, Object> allRequestParams) {
MyRequest request = new ObjectMapper().convertValue(allRequestParams, MyRequest.class);
...
}
当我运行终端时,我看到此错误3次if [ -z "$SSH_AUTH_SOCK" ] ; then
# This doesn't work
echo 'my_passphrase' | eval `ssh-agent -s`
ssh-add
fi
,当我尝试通过ssh连接到我的远程服务器时,我被要求输入我的密码。
如何让它发挥作用?